Exception: CoinbaseCommerceClient::Errors::WebhookError

Inherits:
APIError
  • Object
show all
Defined in:
lib/coinbase_commerce_client/api_errors.rb

Overview

Webhook errors

Instance Attribute Summary collapse

Attributes inherited from APIError

#http_body, #http_headers, #http_status, #json_body, #message, #request_id, #response

Instance Method Summary collapse

Methods inherited from APIError

#to_s

Constructor Details

#initialize(message, sig_header, http_body: nil) ⇒ WebhookError

Returns a new instance of WebhookError.



68
69
70
71
# File 'lib/coinbase_commerce_client/api_errors.rb', line 68

def initialize(message, sig_header, http_body: nil)
  super(message, http_body: http_body)
  @sig_header = sig_header
end

Instance Attribute Details

#sig_headerObject

Returns the value of attribute sig_header.



66
67
68
# File 'lib/coinbase_commerce_client/api_errors.rb', line 66

def sig_header
  @sig_header
end