Module: Ronnie::Client::Activities

Included in:
Ronnie::Client
Defined in:
lib/ronnie/client/activities.rb

Instance Method Summary collapse

Instance Method Details

#activities(user_id, scope, options = {}) ⇒ Object

Retrieve activity stream.

Examples:

@client.activities('a610550')

Parameters:

  • user_id (String)
  • scope (String)


10
11
12
13
14
# File 'lib/ronnie/client/activities.rb', line 10

def activities(user_id, scope, options={})
  required_options = { user: user_id, scope: scope }

  post('getActivityStream', required_options.merge!(options))
end