Class: JustimmoClient::V1::RealtyRoomCount

Inherits:
JustimmoBase show all
Defined in:
lib/justimmo_client/api/v1/models/realty_room_count.rb

Attributes collapse

Instance Method Summary collapse

Methods inherited from JustimmoBase

#==, #save!, #to_h

Methods included from Utils

#autoload_dir, #translate

Methods included from Logging

default_logger, #logger, rails_logger

Instance Method Details

#balconyInteger



12
# File 'lib/justimmo_client/api/v1/models/realty_room_count.rb', line 12

attribute :balcony,         Integer

#balcony_terraceInteger



11
# File 'lib/justimmo_client/api/v1/models/realty_room_count.rb', line 11

attribute :balcony_terrace, Integer

#basementInteger



16
# File 'lib/justimmo_client/api/v1/models/realty_room_count.rb', line 16

attribute :basement,        Integer

#bathroomInteger



10
# File 'lib/justimmo_client/api/v1/models/realty_room_count.rb', line 10

attribute :bathroom,        Integer

#garageInteger



14
# File 'lib/justimmo_client/api/v1/models/realty_room_count.rb', line 14

attribute :garage,          Integer

#gardenInteger



13
# File 'lib/justimmo_client/api/v1/models/realty_room_count.rb', line 13

attribute :garden,          Integer

#inspectObject



31
32
33
# File 'lib/justimmo_client/api/v1/models/realty_room_count.rb', line 31

def inspect
  "#<#{self.class} #{self}>"
end

#loggiaInteger



15
# File 'lib/justimmo_client/api/v1/models/realty_room_count.rb', line 15

attribute :loggia,          Integer

#parking_spaceInteger



18
# File 'lib/justimmo_client/api/v1/models/realty_room_count.rb', line 18

attribute :parking_space,   Integer

#storeInteger



9
# File 'lib/justimmo_client/api/v1/models/realty_room_count.rb', line 9

attribute :store,           Integer

#to_iObject



23
24
25
# File 'lib/justimmo_client/api/v1/models/realty_room_count.rb', line 23

def to_i
  total
end

#to_sObject



27
28
29
# File 'lib/justimmo_client/api/v1/models/realty_room_count.rb', line 27

def to_s
  to_i.to_s
end

#toiletInteger



17
# File 'lib/justimmo_client/api/v1/models/realty_room_count.rb', line 17

attribute :toilet,          Integer

#totalInteger



19
# File 'lib/justimmo_client/api/v1/models/realty_room_count.rb', line 19

attribute :total,           Integer