Class: Quandora::Activity

Inherits:
Request
  • Object
show all
Defined in:
lib/quandora/activity.rb

Overview

index

Instance Attribute Summary

Attributes inherited from Request

#api, #params

Instance Method Summary collapse

Methods inherited from Request

#initialize, #show

Constructor Details

This class inherits a constructor from Quandora::Request

Instance Method Details

#index(args = {}) ⇒ Object



4
5
6
7
8
9
# File 'lib/quandora/activity.rb', line 4

def index(args = {})
  args = args.stringify_keys

  @params.merge!("userId": args["user_id"]) unless args.fetch('user_id', nil).nil?
  super
end