Skip to content

Commit

Permalink
useless code removed
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermesilveira committed Oct 24, 2010
1 parent d49aeab commit 80455be
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions lib/restfulie/client/feature/base_request.rb
Expand Up @@ -33,17 +33,6 @@ def request!(method, host, path, request, flow, env, *args)

flow.continue(request, response, env)

# Restfulie::Client::Response::EnhanceResponse.new(response_handler).parse(host, path, http_request, self, response, method)

end

# Executes a request against your server and return a response instance without {Error}
# * <tt>method: :get,:post,:delete,:head,:put</tt>
# * <tt>path: '/posts'</tt>
# * <tt>args: payload: 'some text' and/or headers: {'Accept' => '*/*', 'Content-Type' => 'application/atom+xml'}</tt>
def request(method = nil, path = nil, *args)
@response_handler = Restfulie::Client::Response::IgnoreError.new(@response_handler)
request!(method, path, *args)
end

def get_connection_provider(host)
Expand Down

0 comments on commit 80455be

Please sign in to comment.