Exception: Moov::Models::Errors::CreateWebhookValidationError

Inherits:
StandardError
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/moov/models/errors/createwebhookvalidationerror.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(url: nil, status: nil, event_types: nil, description: nil, raw_response: nil) ⇒ CreateWebhookValidationError

Returns a new instance of CreateWebhookValidationError.



27
28
29
30
31
32
33
# File 'lib/moov/models/errors/createwebhookvalidationerror.rb', line 27

def initialize(url: nil, status: nil, event_types: nil, description: nil, raw_response: nil)
  @url = url
  @status = status
  @event_types = event_types
  @description = description
  @raw_response = raw_response
end

Instance Method Details

#==(other) ⇒ Object



36
37
38
39
40
41
42
43
44
# File 'lib/moov/models/errors/createwebhookvalidationerror.rb', line 36

def ==(other)
  return false unless other.is_a? self.class
  return false unless @url == other.url
  return false unless @status == other.status
  return false unless @event_types == other.event_types
  return false unless @description == other.description
  return false unless @raw_response == other.raw_response
  true
end