Sha256: bc476edf8b237e956ee2475ba01839712922cee5ab1286bb9dc4bada17aaff60

Contents?: true

Size: 329 Bytes

Versions: 1

Compression:

Stored size: 329 Bytes

Contents

module MessageBus::Client::Configuration
  def self.included(module_)
    module_.extend(ClassMethods)
  end

  module ClassMethods
    attr_accessor :long_polling
    attr_accessor :poll_interval

    def self.extended(module_)
      module_.long_polling = true
      module_.poll_interval = 15
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
message_bus-client-0.1.0 lib/message_bus/client/configuration.rb