class Harvesting::Models::Contact

A contact record from your Harvest account.

For more information: help.getharvest.com/api-v2/clients-api/clients/contacts/

Public Instance Methods

path() click to toggle source
# File lib/harvesting/models/contact.rb, line 20
def path
  @attributes['id'].nil? ? "contacts" : "contacts/#{@attributes['id']}"
end
to_hash() click to toggle source
Calls superclass method
# File lib/harvesting/models/contact.rb, line 24
def to_hash
  { client_id: client.id }.merge(super)
end