Sha256: 5ebee3fd2f96ea67aaa88977587b4c8d494f2a10972bc9a6179dd8edf266edd6

Contents?: true

Size: 279 Bytes

Versions: 1

Compression:

Stored size: 279 Bytes

Contents

module Ray
  module Payloads
    class IntPayload < Payload

      def initialize(int)
        @int = int
      end

      def type
        "custom"
      end

      def content
        {
          content: @int,
          label: "Integer"
        }
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-ray-0.1.0 lib/ray/payloads/int_payload.rb