Class: Facebooker::Affiliation

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

Method Summary

Methods included from Model

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

Instance Attribute Details

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#nidObject

Returns the value of attribute nid.



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

def nid
  @nid
end

#statusObject

Returns the value of attribute status.



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

def status
  @status
end

#typeObject

Returns the value of attribute type.



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

def type
  @type
end

#yearObject

Returns the value of attribute year.



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

def year
  @year
end