Class: GovTrack::VoteVoter
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ VoteVoter
constructor
A new instance of VoteVoter.
- #person ⇒ Object
- #vote ⇒ Object
Methods inherited from Base
#==, #eql?, find_by_id, find_by_uri, method_missing
Constructor Details
#initialize(attributes = {}) ⇒ VoteVoter
Returns a new instance of VoteVoter.
4 5 6 7 |
# File 'lib/govtrack/vote_voter.rb', line 4 def initialize(attributes={}) super @created = DateTime.parse(@created) if @created end |