class SyncwiseApi::Errors::SyncwiseApi::Errors::ApiErrorCode

Attributes

body[R]
header[R]
request[R]
resp[R]

Public Class Methods

new(resp, request, header, body) click to toggle source
Calls superclass method
# File lib/syncwise_api/errors.rb, line 81
def initialize(resp, request, header, body)
  @resp = resp
  @request = request
  @header = header
  @body = body
  super("Api call returned a Syncwise Error Code. Response: #{@resp}, request: #{@request}, header: #{@header}, body: #{@body}")
end