Sha256: c0072d3d10b30ed8b9d9bc3a18a6c15486f118bd6d0da9c1d686d8c28a8e95f8

Contents?: true

Size: 322 Bytes

Versions: 1

Compression:

Stored size: 322 Bytes

Contents

require 'omf_common/dsl/xmpp'
require 'omf_common/dsl/xmpp_mp'


module OmfCommon
  # PubSub communication class, can be extended with different implementations
  class Comm
    def initialize(pubsub_implementation)
      self.extend("OmfCommon::DSL::#{pubsub_implementation.to_s.camelize}".constantize)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
omf_common-6.0.0.pre.8 lib/omf_common/comm.rb