Sha256: 12b23b6550b1aae78fde3280a0ab5c3afbe2363056804883f5177436160c4a8a

Contents?: true

Size: 337 Bytes

Versions: 1

Compression:

Stored size: 337 Bytes

Contents

module Ray
  module Payloads
    class Payload

      def initialize(value)
      end

      def type
        raise NotImplementedError, "You must define the `type` method in your Payload"
      end

      def content
        raise NotImplementedError, "You must define the `content` method in your Payload"
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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