Class: Desk::Api::FacebookUsers
- Inherits:
-
Object
- Object
- Desk::Api::FacebookUsers
- Includes:
- Listable
- Defined in:
- lib/desk/api/facebook_users.rb
Instance Attribute Summary collapse
-
#connection ⇒ Object
readonly
Returns the value of attribute connection.
-
#endpoint ⇒ Object
readonly
Returns the value of attribute endpoint.
-
#return_class ⇒ Object
readonly
Returns the value of attribute return_class.
Instance Method Summary collapse
-
#initialize(connection) ⇒ FacebookUsers
constructor
A new instance of FacebookUsers.
Methods included from Listable
Constructor Details
#initialize(connection) ⇒ FacebookUsers
Returns a new instance of FacebookUsers.
12 13 14 15 16 |
# File 'lib/desk/api/facebook_users.rb', line 12 def initialize(connection) @connection = connection @endpoint = "facebook_users" @return_class = Desk::FacebookUser end |
Instance Attribute Details
#connection ⇒ Object (readonly)
Returns the value of attribute connection.
10 11 12 |
# File 'lib/desk/api/facebook_users.rb', line 10 def connection @connection end |
#endpoint ⇒ Object (readonly)
Returns the value of attribute endpoint.
10 11 12 |
# File 'lib/desk/api/facebook_users.rb', line 10 def endpoint @endpoint end |
#return_class ⇒ Object (readonly)
Returns the value of attribute return_class.
10 11 12 |
# File 'lib/desk/api/facebook_users.rb', line 10 def return_class @return_class end |