Class: AirlyClient::Installation
- Inherits:
-
Entity
- Object
- Entity
- AirlyClient::Installation
show all
- Defined in:
- lib/api/installation.rb
Instance Attribute Summary
Attributes inherited from Entity
#raw
Instance Method Summary
collapse
Methods inherited from Entity
#initialize
Constructor Details
This class inherits a constructor from Entity
Instance Method Details
#address ⇒ Object
19
20
21
|
# File 'lib/api/installation.rb', line 19
def address
@address ||= Address.new(@raw['address'])
end
|
#airly ⇒ Object
23
24
25
|
# File 'lib/api/installation.rb', line 23
def airly
@raw['airly']
end
|
#elevation ⇒ Object
15
16
17
|
# File 'lib/api/installation.rb', line 15
def elevation
@raw['elevation']
end
|
#id ⇒ Object
7
8
9
|
# File 'lib/api/installation.rb', line 7
def id
@raw['id']
end
|
#location ⇒ Object
11
12
13
|
# File 'lib/api/installation.rb', line 11
def location
@location ||= Location.new(@raw['location'])
end
|
27
28
29
|
# File 'lib/api/installation.rb', line 27
def
@sponsor ||= Sponsor.new(@raw['sponsor'])
end
|