Class: VSafe::AuthResult

Inherits:
Object
  • Object
show all
Defined in:
lib/vsafe/auth_result.rb

Constant Summary collapse

INSUFFICENT_FUNDS =
1

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code) ⇒ AuthResult

Returns a new instance of AuthResult.



7
8
9
# File 'lib/vsafe/auth_result.rb', line 7

def initialize(code)
  @code = code.to_i
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



5
6
7
# File 'lib/vsafe/auth_result.rb', line 5

def code
  @code
end