Class: Quickbooks::Service::BaseServiceJSON

Inherits:
BaseService
  • Object
show all
Includes:
ServiceCrudJSON
Defined in:
lib/quickbooks/service/base_service_json.rb

Direct Known Subclasses

TaxService

Constant Summary collapse

HTTP_CONTENT_TYPE =
'application/json'
HTTP_ACCEPT =
'application/json'

Constants inherited from BaseService

Quickbooks::Service::BaseService::BASE_DOMAIN, Quickbooks::Service::BaseService::HTTP_ACCEPT_ENCODING, Quickbooks::Service::BaseService::SANDBOX_DOMAIN, Quickbooks::Service::BaseService::XML_NS

Instance Attribute Summary collapse

Attributes inherited from BaseService

#base_uri, #company_id, #last_response_body, #last_response_xml, #oauth

Method Summary

Methods included from ServiceCrudJSON

#create, #delete, #delete_by_query_string, #fetch_by_id

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, #delete_by_query_string, #fetch_by_id, #find_by, #query, #query_in_batches

Methods included from Util::Logging

#log, #log_xml

Constructor Details

This class inherits a constructor from Quickbooks::Service::BaseService

Instance Attribute Details

#last_response_jsonObject (readonly)

Returns the value of attribute last_response_json.



7
8
9
# File 'lib/quickbooks/service/base_service_json.rb', line 7

def last_response_json
  @last_response_json
end