Module: Readmill::Request

Included in:
Client
Defined in:
lib/readmill/request.rb

Instance Method Summary collapse

Instance Method Details

#get(path, opts = {}) ⇒ Object

Public: Make an HTTP GET Request to the path, passing the opts as params in the query.

path - The path to request. opts - A Hash to send as query parameters (default: {}).

Returns a String.



16
17
18
# File 'lib/readmill/request.rb', line 16

def get(path, opts={})
  request(:get, path, opts)
end