module SageoneSdk::Client::ContactTypes

Represents the types of contact records in Sage One such as Customer or Supplier.

Constants

CUSTOMER
SUPPLIER

Public Instance Methods

contact_type(id, options = {}) click to toggle source

@return [object] Returns the contact type with the given id.

# File lib/sageone_sdk/client/contact_types.rb, line 15
def contact_type(id, options = {})
  get "contact_types/#{id}", options
end
contact_types(options = {}) click to toggle source

@return [object] Returns all of the contact types in Sage One. For example, Customer.

# File lib/sageone_sdk/client/contact_types.rb, line 10
def contact_types(options = {})
  get "contact_types", options
end