Class: Farah::Results::Result
- Inherits:
-
Object
- Object
- Farah::Results::Result
- Defined in:
- lib/farah.rb
Instance Attribute Summary collapse
-
#payload ⇒ Object
readonly
Returns the value of attribute payload.
Instance Method Summary collapse
-
#initialize(payload) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(payload) ⇒ Result
Returns a new instance of Result.
12 13 14 |
# File 'lib/farah.rb', line 12 def initialize(payload) @payload = payload end |
Instance Attribute Details
#payload ⇒ Object (readonly)
Returns the value of attribute payload.
10 11 12 |
# File 'lib/farah.rb', line 10 def payload @payload end |