Sha256: 2a5d7bf99a1f94f3fc68a1cce8979762c3f45f8361be71f38e1e91c79545d28f

Contents?: true

Size: 265 Bytes

Versions: 4

Compression:

Stored size: 265 Bytes

Contents

module Ray
  module Payloads
    class CreateLockPayload < Payload

      def initialize(name)
        @name = name
      end

      def type
        'create_lock'
      end

      def content
        {
          name: @name,
        }
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby-ray-0.4.1 lib/ray/payloads/create_lock_payload.rb
ruby-ray-0.4.0 lib/ray/payloads/create_lock_payload.rb
ruby-ray-0.3.0 lib/ray/payloads/create_lock_payload.rb
ruby-ray-0.2.0 lib/ray/payloads/create_lock_payload.rb