Class: Harvest::Client

Inherits:
Hashie::Mash
  • Object
show all
Includes:
Model
Defined in:
lib/harvest/client.rb

Overview

The model that contains information about a client

Fields

id

(READONLY) the id of the client

name

(REQUIRED) the name of the client

details

the details of the client

currency

what type of currency is associated with the client

currency_symbol

what currency symbol is associated with the client

active?

true|false on whether the client is active

highrise_id

(READONLY) the highrise id associated with this client

update_at

(READONLY) the last modification timestamp

Instance Method Summary collapse

Methods included from Model

included

Instance Method Details

#is_active=(val) ⇒ Object



19
20
21
# File 'lib/harvest/client.rb', line 19

def is_active=(val)
  self.active = val
end