Class: VSafe::AuthResult
- Inherits:
-
Object
- Object
- VSafe::AuthResult
- Defined in:
- lib/vsafe/auth_result.rb
Constant Summary collapse
- INSUFFICENT_FUNDS =
1
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code) ⇒ AuthResult
constructor
A new instance of AuthResult.
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
#code ⇒ Object (readonly)
Returns the value of attribute code.
5 6 7 |
# File 'lib/vsafe/auth_result.rb', line 5 def code @code end |