Method: ApiModel::HttpRequest#run

Defined in:
lib/api_model/http_request.rb

#runObject



15
16
17
18
19
20
21
# File 'lib/api_model/http_request.rb', line 15

def run
  run_callbacks :run do
    Log.debug "#{method.to_s.upcase} #{full_path} #{options}"
    self.api_call = Typhoeus.send method, full_path, options
    Response.new self, config
  end
end