Class: Harvest::API::Company

Inherits:
Base
  • Object
show all
Defined in:
lib/harvest/api/company.rb

Instance Attribute Summary

Attributes inherited from Base

#credentials

Instance Method Summary collapse

Methods inherited from Base

api_model, #initialize

Constructor Details

This class inherits a constructor from Harvest::API::Base

Instance Method Details

#infoObject



6
7
8
9
# File 'lib/harvest/api/company.rb', line 6

def info
  response = request(:get, credentials, api_model.api_path)
  api_model.parse(response.parsed_response)
end