Class: Pinter::Result
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#success ⇒ Object
readonly
Returns the value of attribute success.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ Result
constructor
A new instance of Result.
Methods included from Base
#set_instance_variables_from_hash
Constructor Details
#initialize(attributes) ⇒ Result
Returns a new instance of Result.
8 9 10 |
# File 'lib/pinter/result.rb', line 8 def initialize(attributes) set_instance_variables_from_hash attributes end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
6 7 8 |
# File 'lib/pinter/result.rb', line 6 def @message end |
#success ⇒ Object (readonly)
Returns the value of attribute success.
6 7 8 |
# File 'lib/pinter/result.rb', line 6 def success @success end |