Sha256: 1a0f73a55f9590136f63c9cc9c3bc99d16934ef1cbbaa07dbb9c4999e810bd71

Contents?: true

Size: 490 Bytes

Versions: 28

Compression:

Stored size: 490 Bytes

Contents

module SportsDataApi
  module Nfl
    class EventAction
      attr_reader :id, :sequence, :clock, :type, :summary, :updated, :event_type

      def initialize(quarter_hash)
        @id = quarter_hash["id"]
        @sequence = quarter_hash["sequence"]
        @clock = quarter_hash["clock"]
        @type = quarter_hash["type"]
        @summary = quarter_hash["summary"]
        @updated = quarter_hash["updated"]
        @event_type = quarter_hash["event_type"]
      end
    end
  end
end

Version data entries

28 entries across 14 versions & 1 rubygems

Version Path
sports_data_api-0.14.1 lib/sports_data_api/nfl/action.rb
sports_data_api-0.14.1 lib/sports_data_api/nfl/event_action.rb
sports_data_api-0.14.0 lib/sports_data_api/nfl/event_action.rb
sports_data_api-0.14.0 lib/sports_data_api/nfl/action.rb
sports_data_api-0.13.0 lib/sports_data_api/nfl/action.rb
sports_data_api-0.13.0 lib/sports_data_api/nfl/event_action.rb
sports_data_api-0.12.1 lib/sports_data_api/nfl/event_action.rb
sports_data_api-0.12.1 lib/sports_data_api/nfl/action.rb
sports_data_api-0.12.0 lib/sports_data_api/nfl/action.rb
sports_data_api-0.12.0 lib/sports_data_api/nfl/event_action.rb
sports_data_api-0.11.6 lib/sports_data_api/nfl/event_action.rb
sports_data_api-0.11.6 lib/sports_data_api/nfl/action.rb
sports_data_api-0.11.5 lib/sports_data_api/nfl/action.rb
sports_data_api-0.11.5 lib/sports_data_api/nfl/event_action.rb
sports_data_api-0.11.3 lib/sports_data_api/nfl/action.rb
sports_data_api-0.11.3 lib/sports_data_api/nfl/event_action.rb
sports_data_api-0.11.2 lib/sports_data_api/nfl/action.rb
sports_data_api-0.11.2 lib/sports_data_api/nfl/event_action.rb
sports_data_api-0.11.1 lib/sports_data_api/nfl/action.rb
sports_data_api-0.11.1 lib/sports_data_api/nfl/event_action.rb