Class: Facebooker::Affiliation
- Inherits:
-
Object
- Object
- Facebooker::Affiliation
- Includes:
- Model
- Defined in:
- lib/facebooker/models/affiliation.rb
Overview
Represents a user’s affiliation, for example, which educational institutions the user is associated with.
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#nid ⇒ Object
Returns the value of attribute nid.
-
#status ⇒ Object
Returns the value of attribute status.
-
#type ⇒ Object
Returns the value of attribute type.
-
#year ⇒ Object
Returns the value of attribute year.
Method Summary
Methods included from Model
#anon=, included, #initialize, #populate, #populate_from_hash!, #populated?, #session
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
8 9 10 |
# File 'lib/facebooker/models/affiliation.rb', line 8 def name @name end |
#nid ⇒ Object
Returns the value of attribute nid.
8 9 10 |
# File 'lib/facebooker/models/affiliation.rb', line 8 def nid @nid end |
#status ⇒ Object
Returns the value of attribute status.
8 9 10 |
# File 'lib/facebooker/models/affiliation.rb', line 8 def status @status end |
#type ⇒ Object
Returns the value of attribute type.
8 9 10 |
# File 'lib/facebooker/models/affiliation.rb', line 8 def type @type end |
#year ⇒ Object
Returns the value of attribute year.
8 9 10 |
# File 'lib/facebooker/models/affiliation.rb', line 8 def year @year end |