class Tripletexer

Constants

API_VERSION
VERSION

Attributes

api_client[RW]

Public Class Methods

new(api_client: Tripletexer::APIClient.new, session_token: nil) click to toggle source
# File lib/tripletexer.rb, line 53
def initialize(api_client: Tripletexer::APIClient.new, session_token: nil)
  @api_client = api_client
  @api_client.session_token = session_token if session_token
end

Public Instance Methods

activity() click to toggle source
# File lib/tripletexer.rb, line 58
def activity
  Tripletexer::Endpoints::Activity.new(api_client)
end
address() click to toggle source
# File lib/tripletexer.rb, line 62
def address
  Tripletexer::Endpoints::Address.new(api_client)
end
company() click to toggle source
# File lib/tripletexer.rb, line 66
def company
  Tripletexer::Endpoints::Company.new(api_client)
end
contact() click to toggle source
# File lib/tripletexer.rb, line 70
def contact
  Tripletexer::Endpoints::Contact.new(api_client)
end
country() click to toggle source
# File lib/tripletexer.rb, line 74
def country
  Tripletexer::Endpoints::Country.new(api_client)
end
crm() click to toggle source
# File lib/tripletexer.rb, line 130
def crm
  Tripletexer::Endpoints::Crm.new(api_client)
end
currency() click to toggle source
# File lib/tripletexer.rb, line 78
def currency
  Tripletexer::Endpoints::Currency.new(api_client)
end
customer() click to toggle source
# File lib/tripletexer.rb, line 82
def customer
  Tripletexer::Endpoints::Customer.new(api_client)
end
department() click to toggle source
# File lib/tripletexer.rb, line 86
def department
  Tripletexer::Endpoints::Department.new(api_client)
end
employee() click to toggle source
# File lib/tripletexer.rb, line 90
def employee
  Tripletexer::Endpoints::Employee.new(api_client)
end
inventory() click to toggle source
# File lib/tripletexer.rb, line 94
def inventory
  Tripletexer::Endpoints::Inventory.new(api_client)
end
invoice() click to toggle source
# File lib/tripletexer.rb, line 98
def invoice
  Tripletexer::Endpoints::Invoice.new(api_client)
end
ledger() click to toggle source
# File lib/tripletexer.rb, line 102
def ledger
  Tripletexer::Endpoints::Ledger.new(api_client)
end
order() click to toggle source
# File lib/tripletexer.rb, line 106
def order
  Tripletexer::Endpoints::Order.new(api_client)
end
product() click to toggle source
# File lib/tripletexer.rb, line 110
def product
  Tripletexer::Endpoints::Product.new(api_client)
end
project() click to toggle source
# File lib/tripletexer.rb, line 114
def project
  Tripletexer::Endpoints::Project.new(api_client)
end
supplier() click to toggle source
# File lib/tripletexer.rb, line 118
def supplier
  Tripletexer::Endpoints::Supplier.new(api_client)
end
timesheet() click to toggle source
# File lib/tripletexer.rb, line 122
def timesheet
  Tripletexer::Endpoints::Timesheet.new(api_client)
end
token() click to toggle source
# File lib/tripletexer.rb, line 126
def token
  Tripletexer::Endpoints::Token.new(api_client)
end