Class: Facebook::Endpoints::User

Inherits:
Saddle::TraversalEndpoint
  • Object
show all
Defined in:
lib/facebook-client/endpoints/user.rb

Constant Summary collapse

ABSOLUTE_PATH =
''

Instance Method Summary collapse

Instance Method Details

#by_id(_id, opts = {}) ⇒ Object



18
19
20
# File 'lib/facebook-client/endpoints/user.rb', line 18

def by_id(_id, opts = {})
  get(_id, opts_to_params(opts), opts)
end

#me(opts = {}) ⇒ Object



14
15
16
# File 'lib/facebook-client/endpoints/user.rb', line 14

def me(opts = {})
  by_id('me', opts)
end