Class: Everypolitician::Popolo::Membership
- Defined in:
- lib/everypolitician/popolo/membership.rb
Instance Attribute Summary collapse
-
#area_id ⇒ Object
Returns the value of attribute area_id.
-
#end_date ⇒ Object
Returns the value of attribute end_date.
-
#on_behalf_of_id ⇒ Object
Returns the value of attribute on_behalf_of_id.
-
#organization_id ⇒ Object
Returns the value of attribute organization_id.
-
#person_id ⇒ Object
Returns the value of attribute person_id.
-
#role ⇒ Object
Returns the value of attribute role.
-
#start_date ⇒ Object
Returns the value of attribute start_date.
Attributes inherited from Entity
Method Summary
Methods inherited from Entity
#==, #[], #initialize, #key?
Constructor Details
This class inherits a constructor from Everypolitician::Popolo::Entity
Instance Attribute Details
#area_id ⇒ Object
Returns the value of attribute area_id.
6 7 8 |
# File 'lib/everypolitician/popolo/membership.rb', line 6 def area_id @area_id end |
#end_date ⇒ Object
Returns the value of attribute end_date.
6 7 8 |
# File 'lib/everypolitician/popolo/membership.rb', line 6 def end_date @end_date end |
#on_behalf_of_id ⇒ Object
Returns the value of attribute on_behalf_of_id.
6 7 8 |
# File 'lib/everypolitician/popolo/membership.rb', line 6 def on_behalf_of_id @on_behalf_of_id end |
#organization_id ⇒ Object
Returns the value of attribute organization_id.
6 7 8 |
# File 'lib/everypolitician/popolo/membership.rb', line 6 def organization_id @organization_id end |
#person_id ⇒ Object
Returns the value of attribute person_id.
6 7 8 |
# File 'lib/everypolitician/popolo/membership.rb', line 6 def person_id @person_id end |
#role ⇒ Object
Returns the value of attribute role.
6 7 8 |
# File 'lib/everypolitician/popolo/membership.rb', line 6 def role @role end |
#start_date ⇒ Object
Returns the value of attribute start_date.
6 7 8 |
# File 'lib/everypolitician/popolo/membership.rb', line 6 def start_date @start_date end |