class EurekaBot::Tg::Controller::Response
Public Class Methods
sender_class()
click to toggle source
# File lib/eureka_bot/tg/controller/response.rb, line 14 def self.sender_class @@sender_class ||= EurekaBot::Tg::Sender end
Public Instance Methods
consume()
click to toggle source
# File lib/eureka_bot/tg/controller/response.rb, line 5 def consume while element = @data.shift EurekaBot::Job::Output.perform_later( self.class.sender_class.to_s, element ) end end