Class: Facebooker::Group::Membership

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from Model

#anon=, included, #initialize, #populate, #populate_from_hash!, #populated?, #session

Instance Attribute Details

#gidObject

Returns the value of attribute gid



8
9
10
# File 'lib/facebooker/models/group.rb', line 8

def gid
  @gid
end

#positionObject

Returns the value of attribute position



8
9
10
# File 'lib/facebooker/models/group.rb', line 8

def position
  @position
end

#uidObject

Returns the value of attribute uid



8
9
10
# File 'lib/facebooker/models/group.rb', line 8

def uid
  @uid
end