Class: Sanjose::Result
- Inherits:
-
Object
- Object
- Sanjose::Result
- Defined in:
- lib/sanjose/result.rb
Instance Attribute Summary collapse
-
#canonical_reg_id ⇒ Object
readonly
Returns the value of attribute canonical_reg_id.
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#message_id ⇒ Object
readonly
Returns the value of attribute message_id.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(options = {}) ⇒ Result
Returns a new instance of Result.
5 6 7 8 9 |
# File 'lib/sanjose/result.rb', line 5 def initialize( = {}) @message_id = [:message_id] @canonical_reg_id = [:canonical_reg_id] @error = [:error] end |
Instance Attribute Details
#canonical_reg_id ⇒ Object (readonly)
Returns the value of attribute canonical_reg_id.
3 4 5 |
# File 'lib/sanjose/result.rb', line 3 def canonical_reg_id @canonical_reg_id end |
#error ⇒ Object (readonly)
Returns the value of attribute error.
3 4 5 |
# File 'lib/sanjose/result.rb', line 3 def error @error end |
#message_id ⇒ Object (readonly)
Returns the value of attribute message_id.
3 4 5 |
# File 'lib/sanjose/result.rb', line 3 def @message_id end |