Class: Everypolitician::Popolo::Event

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

Instance Attribute Summary collapse

Attributes inherited from Entity

#document, #id, #popolo

Method Summary

Methods inherited from Entity

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

Constructor Details

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

Instance Attribute Details

#end_dateObject

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_dateObject

Returns the value of attribute start_date.



5
6
7
# File 'lib/everypolitician/popolo/event.rb', line 5

def start_date
  @start_date
end