Module: Hackeroo::API::Users

Includes:
Utils
Included in:
Client
Defined in:
lib/hackeroo/api/users.rb

Constant Summary collapse

MAX_USERS_PER_REQUEST =
100

Constants included from Utils

Hackeroo::API::Utils::DEFAULT_CURSOR

Instance Method Summary collapse

Instance Method Details

#update_delivery_device(device, options = {}) ⇒ Object



13
14
15
# File 'lib/hackeroo/api/users.rb', line 13

def update_delivery_device(device, options={})
  object_from_response(Hackeroo::User, :post, "/1.1/account/update_delivery_device.json", options.merge(:device => device))
end

#user(*args) ⇒ Object



18
19
20
21
22
# File 'lib/hackeroo/api/users.rb', line 18

def user(*args)
  arguments = Twitter::API::Arguments.new(args)
  # merge_user!(arguments.options, user)
  object_from_response(Hackeroo::User, :get, "/api/v1/performances.json", arguments.options)
end