Class: Jumbotron::Client
- Inherits:
-
Object
- Object
- Jumbotron::Client
- Defined in:
- lib/jumbotron/client.rb
Instance Method Summary collapse
- #consensus ⇒ Object
- #current_lines ⇒ Object
- #game ⇒ Object
- #schedule ⇒ Object
- #schedule_groups ⇒ Object
Instance Method Details
#consensus ⇒ Object
26 27 28 29 30 31 |
# File 'lib/jumbotron/client.rb', line 26 def consensus(**) Public::TranslateOutcome.call( Workflows::ReadConsensusWorkflow.call(**), payload_key: :consensus_lines ) end |
#current_lines ⇒ Object
33 34 35 36 37 38 |
# File 'lib/jumbotron/client.rb', line 33 def current_lines(**) Public::TranslateOutcome.call( Workflows::ReadCurrentLinesWorkflow.call(**), payload_key: :current_lines ) end |
#game ⇒ Object
19 20 21 22 23 24 |
# File 'lib/jumbotron/client.rb', line 19 def game(**) Public::TranslateOutcome.call( Workflows::ReadGameWorkflow.call(**), payload_key: :game ) end |
#schedule ⇒ Object
5 6 7 8 9 10 |
# File 'lib/jumbotron/client.rb', line 5 def schedule(**) Public::TranslateOutcome.call( Workflows::ReadScheduleWorkflow.call(**), payload_key: :schedule ) end |
#schedule_groups ⇒ Object
12 13 14 15 16 17 |
# File 'lib/jumbotron/client.rb', line 12 def schedule_groups(**) Public::TranslateOutcome.call( Workflows::ReadScheduleGroupsWorkflow.call(**), payload_key: :schedule_groups ) end |