Class: Justimmo::API::RealtyPrice

Inherits:
Resource
  • Object
show all
Defined in:
lib/justimmo/api/v1/realty/realty_price.rb

Overview

Holds price information like rent and purcase price.

Instance Method Summary collapse

Methods inherited from Resource

class_name, from_json, mapper, query, #to_h, #to_json

Constructor Details

#initialize(options = {}) ⇒ RealtyPrice


8
9
10
11
12
13
14
# File 'lib/justimmo/api/v1/realty/realty_price.rb', line 8

def initialize(options = {})
  @attributes = i[
    currency purcase_price additional_costs price
  ]

  super(options)
end