Sha256: c42d20dba85cad5b21507ce3f946945b3a52ee407a09dee0de67773856e92d8f

Contents?: true

Size: 317 Bytes

Versions: 4

Compression:

Stored size: 317 Bytes

Contents

module VoteSmart
  
  class CandidateOffice < Common
    
    attr_accessor :address, :phone, :notes
    
    def initialize attributes
      self.address = Address.new(attributes["address"])
      self.phone = Phone.new(attributes["phone"])
      self.notes = Notes.new(attributes["notes"])
    end
    
  end
  
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
netroots-ruby-votesmart-0.2.0 lib/vote_smart/candidate_office.rb
netroots-ruby-votesmart-0.2.1 lib/vote_smart/candidate_office.rb
netroots-ruby-votesmart-0.2.2 lib/vote_smart/candidate_office.rb
netroots-ruby-votesmart-0.2.3 lib/vote_smart/candidate_office.rb