Class: Quickbooks::Service::Account
- Inherits:
-
BaseService
- Object
- BaseService
- Quickbooks::Service::Account
- Defined in:
- lib/quickbooks/service/account.rb
Constant Summary
Constants inherited from BaseService
BaseService::BASE_DOMAIN, BaseService::HTTP_ACCEPT, BaseService::HTTP_ACCEPT_ENCODING, BaseService::HTTP_CONTENT_TYPE, BaseService::SANDBOX_DOMAIN, BaseService::XML_NS
Instance Attribute Summary
Attributes inherited from BaseService
#base_uri, #company_id, #last_response_body, #last_response_xml, #oauth
Instance Method Summary collapse
Methods inherited from BaseService
#access_token=, #default_model_query, #initialize, #is_json?, #is_pdf?, #realm_id=, #url_for_base, #url_for_query, #url_for_resource
Methods included from ServiceCrud
#all, #create, #delete_by_query_string, #fetch_by_id, #find_by, #query, #query_in_batches
Methods included from Util::Logging
Constructor Details
This class inherits a constructor from Quickbooks::Service::BaseService
Instance Method Details
#delete(account) ⇒ Object
5 6 7 8 |
# File 'lib/quickbooks/service/account.rb', line 5 def delete(account) account.active = false update(account, :sparse => true) end |