Sha256: f222f3878abfa046c4c7ee75e8cab05abf8041d1aa04c6579f8fe9de1743b77f
Contents?: true
Size: 335 Bytes
Versions: 7
Compression:
Stored size: 335 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
7 entries across 7 versions & 2 rubygems