Sha256: 649a40bcfc43ba8102a21dbcd40ad90722a46f299700636518d802af9e079f04

Contents?: true

Size: 501 Bytes

Versions: 144

Compression:

Stored size: 501 Bytes

Contents

module Sportradar
  module Api
    class Nfl::Event < Data
      attr_accessor :response, :id, :sequence, :reference, :clock, :type, :description, :alt_description

      def initialize(data)
        @response = data
        @id = data["id"]
        @sequence = data["sequence"]
        @reference = data["reference"]
        @clock = data["clock"]
        @type = data["type"]
        @description = data["description"]
        @alt_description = data["alt_description"]
      end

    end
  end
end

Version data entries

144 entries across 144 versions & 1 rubygems

Version Path
sportradar-api-0.1.8 lib/sportradar/api/nfl/event.rb
sportradar-api-0.1.7 lib/sportradar/api/nfl/event.rb
sportradar-api-0.1.6 lib/sportradar/api/nfl/event.rb
sportradar-api-0.1.5 lib/sportradar/api/nfl/event.rb