Sha256: e3e684a53193ace91044dc2d62a19e1cde70aee440d5c0bd7322101382947d08

Contents?: true

Size: 265 Bytes

Versions: 12

Compression:

Stored size: 265 Bytes

Contents

# frozen_string_literal: true

module OperatorRecordable
  class RequestStore
    def [](key)
      ::RequestStore.store[key]
    end

    def []=(key, value)
      ::RequestStore.store[key] = value
    end
  end

  Store.register(:request_store, RequestStore)
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
operator_recordable-2.0.0 lib/operator_recordable/store/request_store.rb
operator_recordable-1.4.0 lib/operator_recordable/store/request_store.rb
operator_recordable-1.3.1 lib/operator_recordable/store/request_store.rb
operator_recordable-1.3.0 lib/operator_recordable/store/request_store.rb
operator_recordable-1.2.0 lib/operator_recordable/store/request_store.rb
operator_recordable-1.1.0 lib/operator_recordable/store/request_store.rb
operator_recordable-1.0.0 lib/operator_recordable/store/request_store.rb
operator_recordable-0.4.0 lib/operator_recordable/store/request_store.rb
operator_recordable-0.3.0 lib/operator_recordable/store/request_store.rb
operator_recordable-0.2.0 lib/operator_recordable/store/request_store.rb
operator_recordable-0.1.1 lib/operator_recordable/store/request_store.rb
operator_recordable-0.1.0 lib/operator_recordable/store/request_store.rb