Exception: CoinbaseCommerce::Errors::WebhookError

Inherits:
APIError
  • Object
show all
Defined in:
lib/coinbase_commerce/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.



75
76
77
78
# File 'lib/coinbase_commerce/api_errors.rb', line 75

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.



73
74
75
# File 'lib/coinbase_commerce/api_errors.rb', line 73

def sig_header
  @sig_header
end