class Harvesting::Models::User

An user record from your Harvest account.

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

Public Instance Methods

name() click to toggle source
# File lib/harvesting/models/user.rb, line 34
def name
  @attributes['name'].nil? ? "#{first_name} #{last_name}" : @attributes['name']
end
path() click to toggle source
# File lib/harvesting/models/user.rb, line 30
def path
  @attributes['id'].nil? ? "users" : "users/#{@attributes['id']}"
end