Class: RulesIO::MemoryQueue

Inherits:
Object
  • Object
show all
Defined in:
lib/rulesio/memory_queue.rb

Class Method Summary collapse

Class Method Details

.push(hash) ⇒ Object



6
7
8
# File 'lib/rulesio/memory_queue.rb', line 6

def self.push(hash)
  RulesIO.post_payload_to_token hash[:payload], hash[:token]
end