Method: Pdm::ApiRequest#get

Defined in:
lib/pdm/api_request.rb

#get(path, params) ⇒ Object



36
37
38
39
40
# File 'lib/pdm/api_request.rb', line 36

def get(path, params)
  with_rest_client(path, params) do |r, uri, params|
    r.get(uri, :params => params, :accept => accept)
  end
end