Method: GnipApi::Apis::Search#activities

Defined in:
lib/gnip_api/apis/search.rb

#activities(options = {}) ⇒ Object

[View source]

15
16
17
18
19
20
21
# File 'lib/gnip_api/apis/search.rb', line 15

def activities options={}
  required_options?(options)
  payload = construct_activities_payload(options)
  request = GnipApi::Request.new_post(activities_endpoint, payload)
  data = adapter.post(request)
  return parse_activities_response(data)
end