Class: Wrest::Curl::Get

Inherits:
Request show all
Defined in:
lib/wrest/curl/get.rb

Instance Attribute Summary

Attributes inherited from Request

#auth_type, #body, #connection, #file_name, #follow_redirects, #follow_redirects_limit, #headers, #http_request, #multipart, #parameters, #password, #timeout, #uri, #username

Instance Method Summary (collapse)

Methods inherited from Request

#invoke

Constructor Details

- (Get) initialize(wrest_uri, parameters = {}, headers = {}, options = {})



12
13
14
15
16
17
18
19
20
21
# File 'lib/wrest/curl/get.rb', line 12

def initialize(wrest_uri, parameters = {}, headers = {}, options = {})
  super(
    wrest_uri,
    :get,
    parameters,
    nil,
    headers,
    options
  )
end