Class: Justimmo::API::Employee

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

Overview

Holds employee contact information.

Direct Known Subclasses

RealtyContact, Employee

Instance Method Summary collapse

Methods inherited from Resource

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

Constructor Details

#initialize(options = {}) ⇒ Employee


8
9
10
11
12
13
14
15
16
# File 'lib/justimmo/api/v1/employee.rb', line 8

def initialize(options = {})
  @attributes = i[
    id email phone last_name first_name title salutation company street
    zip_code location feedback url personal_number image
    user_defined_anyfield
  ]

  super(options)
end