Module: DaashubAPI::REST::History

Included in:
Client
Defined in:
lib/daashub_api/rest/history.rb

Instance Method Summary collapse

Instance Method Details

#requests(params = {}) ⇒ Object



7
8
9
10
11
# File 'lib/daashub_api/rest/history.rb', line 7

def requests(params = {})
  options = prepare_requests_options(params)
  response = DaashubAPI::Request.perform_get('/v1/requests', access_token, options)
  DaashubAPI::History.new(response)
end