Method: Redd::Client#get

Defined in:
lib/redd/client.rb

#get(path, options = {}) ⇒ Response

Make a GET request.

Parameters:

  • path (String)

    the path relative to the endpoint

  • options (Hash) (defaults to: {})

    the parameters to supply

Returns:



47
48
49
# File 'lib/redd/client.rb', line 47

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