Class: JustimmoClient::V1::RealtyArea
Instance Method Summary
collapse
Methods included from Utils
#autoload_dir, #translate
Methods included from Logging
default_logger, #logger, rails_logger
Instance Method Details
#balcony ⇒ Float
10
|
# File 'lib/justimmo_client/api/v1/models/realty_area.rb', line 10
attribute :balcony, Float
|
#balcony_terrace ⇒ Float
9
|
# File 'lib/justimmo_client/api/v1/models/realty_area.rb', line 9
attribute :balcony_terrace, Float
|
#basement ⇒ Float
17
|
# File 'lib/justimmo_client/api/v1/models/realty_area.rb', line 17
attribute :basement, Float
|
#buildable ⇒ Float
23
|
# File 'lib/justimmo_client/api/v1/models/realty_area.rb', line 23
attribute :buildable, Float
|
#each(&block) ⇒ Object
41
42
43
|
# File 'lib/justimmo_client/api/v1/models/realty_area.rb', line 41
def each(&block)
attributes.each(&block)
end
|
#floor ⇒ Float
20
|
# File 'lib/justimmo_client/api/v1/models/realty_area.rb', line 20
attribute :floor, Float
|
#garage ⇒ Float
12
|
# File 'lib/justimmo_client/api/v1/models/realty_area.rb', line 12
attribute :garage, Float
|
#garden ⇒ Float
13
|
# File 'lib/justimmo_client/api/v1/models/realty_area.rb', line 13
attribute :garden, Float
|
#inspect ⇒ Object
37
38
39
|
# File 'lib/justimmo_client/api/v1/models/realty_area.rb', line 37
def inspect
"#<#{self.class} #{self}>"
end
|
#living ⇒ Float
25
|
# File 'lib/justimmo_client/api/v1/models/realty_area.rb', line 25
attribute :living, Float
|
#loggia ⇒ Float
19
|
# File 'lib/justimmo_client/api/v1/models/realty_area.rb', line 19
attribute :loggia, Float
|
#map(&block) ⇒ Object
45
46
47
|
# File 'lib/justimmo_client/api/v1/models/realty_area.rb', line 45
def map(&block)
attributes.map(&block)
end
|
#office ⇒ Float
11
|
# File 'lib/justimmo_client/api/v1/models/realty_area.rb', line 11
attribute :office, Float
|
#parking ⇒ Float
21
|
# File 'lib/justimmo_client/api/v1/models/realty_area.rb', line 21
attribute :parking, Float
|
#property ⇒ Float
16
|
# File 'lib/justimmo_client/api/v1/models/realty_area.rb', line 16
attribute :property, Float
|
#sales ⇒ Float
24
|
# File 'lib/justimmo_client/api/v1/models/realty_area.rb', line 24
attribute :sales, Float
|
#storage ⇒ Float
18
|
# File 'lib/justimmo_client/api/v1/models/realty_area.rb', line 18
attribute :storage, Float
|
#surface ⇒ Float
15
|
# File 'lib/justimmo_client/api/v1/models/realty_area.rb', line 15
attribute :surface, Float
|
#terrace ⇒ Float
22
|
# File 'lib/justimmo_client/api/v1/models/realty_area.rb', line 22
attribute :terrace, Float
|
#to_f ⇒ Object
29
30
31
|
# File 'lib/justimmo_client/api/v1/models/realty_area.rb', line 29
def to_f
living || floor
end
|
#to_s ⇒ Object
33
34
35
|
# File 'lib/justimmo_client/api/v1/models/realty_area.rb', line 33
def to_s
to_f.to_s
end
|
#total ⇒ Float
14
|
# File 'lib/justimmo_client/api/v1/models/realty_area.rb', line 14
attribute :total, Float
|