module DaashubAPI::REST::History

Public Instance Methods

requests(params = {}) click to toggle source
# 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

Protected Instance Methods

prepare_requests_options(params) click to toggle source
# File lib/daashub_api/rest/history.rb, line 15
def prepare_requests_options(params)
  { query: params }
end