Class: Rager::Outcome
- Inherits:
-
T::Struct
- Object
- T::Struct
- Rager::Outcome
- Extended by:
- T::Sig
- Defined in:
- lib/rager/outcome.rb
Instance Method Summary collapse
Instance Method Details
#to_json(options = nil) ⇒ Object
16 17 18 19 20 21 22 23 |
# File 'lib/rager/outcome.rb', line 16 def to_json( = nil) { context_id: context_id, value: value, feedback: feedback, tags: }.to_json() end |