Class: JustimmoClient::V1::City

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

Attributes 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

#country_idInteger

Returns:

  • (Integer)


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

attribute :country_id,       Integer

#federal_state_idInteger

Returns:

  • (Integer)


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

attribute :federal_state_id, Integer

#idInteger

Returns:

  • (Integer)


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

attribute :id,               Integer

#locationString

Returns:

  • (String)


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

attribute :location,         String

#region_idInteger

Returns:

  • (Integer)


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

attribute :region_id,        Integer

#zip_codeInteger

Returns:

  • (Integer)


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

attribute :zip_code,         Integer