Class: Moov::Models::Errors::TerminalApplicationError

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(platform: nil, app_bundle_id: nil, package_name: nil, sha256_digest: nil, version_code: nil, raw_response: nil) ⇒ TerminalApplicationError

Returns a new instance of TerminalApplicationError.



30
31
32
33
34
35
36
37
# File 'lib/moov/models/errors/terminalapplicationerror.rb', line 30

def initialize(platform: nil, app_bundle_id: nil, package_name: nil, sha256_digest: nil, version_code: nil, raw_response: nil)
  @platform = platform
  @app_bundle_id = app_bundle_id
  @package_name = package_name
  @sha256_digest = sha256_digest
  @version_code = version_code
  @raw_response = raw_response
end

Instance Method Details

#==(other) ⇒ Object



40
41
42
43
44
45
46
47
48
49
# File 'lib/moov/models/errors/terminalapplicationerror.rb', line 40

def ==(other)
  return false unless other.is_a? self.class
  return false unless @platform == other.platform
  return false unless @app_bundle_id == other.app_bundle_id
  return false unless @package_name == other.package_name
  return false unless @sha256_digest == other.sha256_digest
  return false unless @version_code == other.version_code
  return false unless @raw_response == other.raw_response
  true
end