Sha256: af6e1506361d2dbd4854260c7a1a78036c3b5ef5a8f6bc3bc9727769cdfa085f

Contents?: true

Size: 426 Bytes

Versions: 39

Compression:

Stored size: 426 Bytes

Contents

class LucidHandler
  class << self
    def inherited(base)
      Isomorfeus.add_valid_handler_class(base)
    end

    def on_request(&block)
      define_method :process_request do |*args|
        instance_exec(*args, &block)
      end
    end
  end

  def resolving?
    false
  end

  def current_user
    Isomorfeus.current_user
  end

  def pub_sub_client
    Isomorfeus.pub_sub_client
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
isomorfeus-transport-23.9.0.rc12 lib/lucid_handler.rb
isomorfeus-transport-23.9.0.rc11 lib/lucid_handler.rb
isomorfeus-transport-23.9.0.rc10 lib/lucid_handler.rb
isomorfeus-transport-23.9.0.rc9 lib/lucid_handler.rb
isomorfeus-transport-23.9.0.rc8 lib/lucid_handler.rb
isomorfeus-transport-23.9.0.rc7 lib/lucid_handler.rb
isomorfeus-transport-23.9.0.rc6 lib/lucid_handler.rb
isomorfeus-transport-23.9.0.rc5 lib/lucid_handler.rb
isomorfeus-transport-23.9.0.rc4 lib/lucid_handler.rb
isomorfeus-transport-23.9.0.rc3 lib/lucid_handler.rb
isomorfeus-transport-23.9.0.rc2 lib/lucid_handler.rb
isomorfeus-transport-23.9.0.rc1 lib/lucid_handler.rb
isomorfeus-transport-23.8.0.rc3 lib/lucid_handler.rb
isomorfeus-transport-23.8.0.rc2 lib/lucid_handler.rb
isomorfeus-transport-23.8.0.rc1 lib/lucid_handler.rb
isomorfeus-transport-23.7.0.rc5 lib/lucid_handler.rb
isomorfeus-transport-23.7.0.rc4 lib/lucid_handler.rb
isomorfeus-transport-23.7.0.rc3 lib/lucid_handler.rb
isomorfeus-transport-23.7.0.rc2 lib/lucid_handler.rb
isomorfeus-transport-23.7.0.rc1 lib/lucid_handler.rb