Class: Moov::Models::Errors::OnboardingInviteError

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(return_url: nil, terms_of_service_url: nil, scopes: nil, capabilities: nil, fee_plan_codes: nil, raw_response: nil) ⇒ OnboardingInviteError

Returns a new instance of OnboardingInviteError.



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

def initialize(return_url: nil, terms_of_service_url: nil, scopes: nil, capabilities: nil, fee_plan_codes: nil, raw_response: nil)
  @return_url = return_url
  @terms_of_service_url = terms_of_service_url
  @scopes = scopes
  @capabilities = capabilities
  @fee_plan_codes = fee_plan_codes
  @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/onboardinginviteerror.rb', line 40

def ==(other)
  return false unless other.is_a? self.class
  return false unless @return_url == other.return_url
  return false unless @terms_of_service_url == other.terms_of_service_url
  return false unless @scopes == other.scopes
  return false unless @capabilities == other.capabilities
  return false unless @fee_plan_codes == other.fee_plan_codes
  return false unless @raw_response == other.raw_response
  true
end