Exception: Transbank::Patpass::PatpassComercio::Errors::InscriptionStartError

Inherits:
Errors::PatpassError show all
Defined in:
lib/transbank/sdk/patpass/patpass_comercio/errors/inscription_start_error.rb

Instance Attribute Summary collapse

Attributes inherited from Errors::PatpassError

#message

Instance Method Summary collapse

Constructor Details

#initialize(message, code) ⇒ InscriptionStartError

Returns a new instance of InscriptionStartError.



7
8
9
10
# File 'lib/transbank/sdk/patpass/patpass_comercio/errors/inscription_start_error.rb', line 7

def initialize(message, code)
  @code = code
  super(message, code)
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



6
7
8
# File 'lib/transbank/sdk/patpass/patpass_comercio/errors/inscription_start_error.rb', line 6

def code
  @code
end