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