Class: Moov::Models::Components::OccurrencesResponseError

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

Overview

Contains details on why the occurrence errored.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(message: nil) ⇒ OccurrencesResponseError

Returns a new instance of OccurrencesResponseError.



20
21
22
# File 'lib/moov/models/components/occurrencesresponse_error.rb', line 20

def initialize(message: nil)
  @message = message
end

Instance Method Details

#==(other) ⇒ Object



25
26
27
28
29
# File 'lib/moov/models/components/occurrencesresponse_error.rb', line 25

def ==(other)
  return false unless other.is_a? self.class
  return false unless @message == other.message
  true
end