Sha256: d0fc81edea1966e94aeb504696004055e253e28b0478f675fa47f2e113c7e2df

Contents?: true

Size: 305 Bytes

Versions: 7

Compression:

Stored size: 305 Bytes

Contents

# frozen_string_literal: true

require "thread/local"

module CableReady
  class CableCar < OperationBuilder
    extend Thread::Local

    def initialize
      super "CableCar"
    end

    def dispatch(clear: true)
      payload = operations_payload
      reset! if clear
      payload
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cable_ready-5.0.3 lib/cable_ready/cable_car.rb
cable_ready-5.0.2 lib/cable_ready/cable_car.rb
cable_ready-5.0.1 lib/cable_ready/cable_car.rb
cable_ready-5.0.0 lib/cable_ready/cable_car.rb
cable_ready-5.0.0.rc2 lib/cable_ready/cable_car.rb
cable_ready-5.0.0.rc1 lib/cable_ready/cable_car.rb
cable_ready-5.0.0.pre10 lib/cable_ready/cable_car.rb