Class: Google::Civic::Official
Instance Method Summary
collapse
has_many, #initialize
Instance Method Details
#address ⇒ Object
4
5
|
# File 'lib/google-civic/official.rb', line 4
def address
end
|
#addresses ⇒ Object
7
8
9
|
# File 'lib/google-civic/official.rb', line 7
def addresses
@__addresses ||= self["address"].map { |address| Address.new(address) }
end
|
#channels ⇒ Object
11
12
13
|
# File 'lib/google-civic/official.rb', line 11
def channels
@__channels ||= self["channels"].map { |channel| channel_class.new(channel) }
end
|