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

- (Object) name

Returns the value of attribute name



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

def name
  @name
end

- (Object) nid

Returns the value of attribute nid



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

def nid
  @nid
end

- (Object) status

Returns the value of attribute status



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

def status
  @status
end

- (Object) type

Returns the value of attribute type



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

def type
  @type
end

- (Object) year

Returns the value of attribute year



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

def year
  @year
end