module QboApi::Supporting

Public Instance Methods

batch(payload) click to toggle source
# File lib/qbo_api/supporting.rb, line 9
def batch(payload)
  path = "#{realm_id}/batch"
  request(:post, path: path, payload: payload)
end
cdc(entities:, changed_since:) click to toggle source
# File lib/qbo_api/supporting.rb, line 3
def cdc(entities:, changed_since:)
  path = "#{realm_id}/cdc"
  path = add_params_to_path(path: path, params: { entities: entities, changedSince: cdc_time(changed_since) })
  request(:get, path: path)
end
reports(name:, params: nil) click to toggle source
# File lib/qbo_api/supporting.rb, line 14
def reports(name:, params: nil)
  path = "#{realm_id}/reports/#{name}"
  path = add_params_to_path(path: path, params: params) if params
  request(:get, path: path)
end