Class: Facebooker::Group::Membership
- Inherits:
-
Object
- Object
- Facebooker::Group::Membership
- Includes:
- Model
- Defined in:
- lib/facebooker/models/group.rb
Overview
The model of a user’s relationship to a group. Users can occupy different positions within a group (e.g. ‘owner’)
Instance Attribute Summary collapse
-
#gid ⇒ Object
Returns the value of attribute gid.
-
#position ⇒ Object
Returns the value of attribute position.
-
#uid ⇒ Object
Returns the value of attribute uid.
Method Summary
Methods included from Model
#anon=, included, #initialize, #populate, #populate_from_hash!, #populated?, #session
Instance Attribute Details
#gid ⇒ Object
Returns the value of attribute gid.
8 9 10 |
# File 'lib/facebooker/models/group.rb', line 8 def gid @gid end |
#position ⇒ Object
Returns the value of attribute position.
8 9 10 |
# File 'lib/facebooker/models/group.rb', line 8 def position @position end |
#uid ⇒ Object
Returns the value of attribute uid.
8 9 10 |
# File 'lib/facebooker/models/group.rb', line 8 def uid @uid end |