Module: RubyInstagram::Client::Users
- Included in:
- RubyInstagram::Client
- Defined in:
- lib/ruby_instagram/client/users.rb
Overview
Defines methods related to users
Instance Method Summary collapse
-
#user(id = nil, options = {}) ⇒ Hashie::Mash
Returns extended information of a given user.
Instance Method Details
#user(id = nil, options = {}) ⇒ Hashie::Mash
Returns extended information of a given user
18 19 20 21 |
# File 'lib/ruby_instagram/client/users.rb', line 18 def user(*args) = args.last.is_a?(Hash) ? args.pop : {} get(args.first || 'me', ) end |