class Quickbooks::Service::Customer

Public Instance Methods

delete(customer) click to toggle source
# File lib/quickbooks/service/customer.rb, line 5
def delete(customer)
  customer.active = false
  update(customer, :sparse => true)
end
fetch_by_id(id, params = {}) click to toggle source
# File lib/quickbooks/service/customer.rb, line 10
def fetch_by_id(id, params = {})
  url = "#{url_for_base}/customer/#{id}"
  fetch_object(model, url, params)
end

Private Instance Methods

model() click to toggle source
# File lib/quickbooks/service/customer.rb, line 17
def model
  Quickbooks::Model::Customer
end