Module: DK::TQueue
- Included in:
- Client
- Defined in:
- lib/draftking/queue.rb
Overview
—————————– Queue Methods —————————– #
Instance Method Summary collapse
-
#move_to_drafts(options) ⇒ Int
Move from Queue to Drafts.
Instance Method Details
#move_to_drafts(options) ⇒ Int
Move from Queue to Drafts
7 8 9 10 11 12 13 14 |
# File 'lib/draftking/queue.rb', line 7 def move_to_drafts() [:message] = 'Moving Queue ~> Drafts: ' [:shuffle] = false [:state] = DK::DRAFT post_operation() do |post, _| !post.passes_filter?(filter: @filter) end end |