class Quickbooks::Service::Department
Public Instance Methods
Source
# File lib/quickbooks/service/department.rb, line 10 def delete(department) department.active = false update(department, :sparse => false) end
Source
# File lib/quickbooks/service/department.rb, line 5 def update(entity, options = {}) raise Quickbooks::InvalidModelException.new('Department sparse update is not supported by Intuit at this time') if options[:sparse] && options[:sparse] == true super(entity, options) end
Calls superclass method
Quickbooks::Service::ServiceCrud#update
Private Instance Methods
Source
# File lib/quickbooks/service/department.rb, line 17 def model Quickbooks::Model::Department end