Class: Everypolitician::Popolo::Membership

Inherits:
Entity
  • Object
show all
Defined in:
lib/everypolitician/popolo/membership.rb

Instance Attribute Summary collapse

Attributes inherited from Entity

#document, #id

Method Summary

Methods inherited from Entity

#==, #[], #initialize, #key?

Constructor Details

This class inherits a constructor from Everypolitician::Popolo::Entity

Instance Attribute Details

#area_idObject

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_dateObject

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_idObject

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_idObject

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_idObject

Returns the value of attribute person_id.



6
7
8
# File 'lib/everypolitician/popolo/membership.rb', line 6

def person_id
  @person_id
end

#roleObject

Returns the value of attribute role.



6
7
8
# File 'lib/everypolitician/popolo/membership.rb', line 6

def role
  @role
end

#start_dateObject

Returns the value of attribute start_date.



6
7
8
# File 'lib/everypolitician/popolo/membership.rb', line 6

def start_date
  @start_date
end