Sha256: a119463fa7588d3e5b05d8a58356799dbed0035d158411841754f9120f2383fc

Contents?: true

Size: 287 Bytes

Versions: 4

Compression:

Stored size: 287 Bytes

Contents

module Ray
  module Payloads
    class NewScreenPayload < Payload

      def initialize(screenName)
        @screenName = screenName
      end

      def type
        'new_screen'
      end

      def content
        {
          name: @screenName,
        }
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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