Sha256: 1bd12630bf9a40a821cd704a885e60cacf4b33253ddb89522b7f470115e0fb30

Contents?: true

Size: 484 Bytes

Versions: 12

Compression:

Stored size: 484 Bytes

Contents

module Skylight
  module Messages
    def self.get(id)
      (@id_map ||= {})[id]
    end

    def self.set(id, klass)
      (@id_map ||= {})[id] = klass
    end

    require 'skylight/messages/annotation'
    require 'skylight/messages/event'
    require 'skylight/messages/span'
    require 'skylight/messages/trace'
    require 'skylight/messages/endpoint'
    require 'skylight/messages/batch'
    require 'skylight/messages/hello'
    require 'skylight/messages/error'
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
skylight-0.2.7 lib/skylight/messages.rb
skylight-0.2.6 lib/skylight/messages.rb
skylight-0.2.5 lib/skylight/messages.rb
skylight-0.2.4 lib/skylight/messages.rb
skylight-0.2.3 lib/skylight/messages.rb
skylight-0.2.2 lib/skylight/messages.rb
skylight-0.2.1 lib/skylight/messages.rb
skylight-0.2.0 lib/skylight/messages.rb
skylight-0.2.0.beta.4 lib/skylight/messages.rb
skylight-0.2.0.beta.3 lib/skylight/messages.rb
skylight-0.2.0.beta.2 lib/skylight/messages.rb
skylight-0.2.0.beta.1 lib/skylight/messages.rb