Sha256: 4cd0b0258ef975fa344fc746b044f31525a519c319ae93ec17462c47ca55e0c9

Contents?: true

Size: 454 Bytes

Versions: 15

Compression:

Stored size: 454 Bytes

Contents

module Sportradar
  module Api
    module Football
      class Ncaafb
        class Drive < Sportradar::Api::Football::Drive

          def handle_plays_and_events(data, **opts)
            create_data(@plays_hash,  data['actions'],  klass: Play,  api: api, game: self) if data['actions']
            create_data(@events_hash, data['events'],   klass: Event, api: api, game: self) if data['events']
          end

        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
sportradar-api-0.11.15 lib/sportradar/api/football/ncaafb/drive.rb
sportradar-api-0.11.14 lib/sportradar/api/football/ncaafb/drive.rb
sportradar-api-0.11.13 lib/sportradar/api/football/ncaafb/drive.rb
sportradar-api-0.11.12 lib/sportradar/api/football/ncaafb/drive.rb
sportradar-api-0.11.11 lib/sportradar/api/football/ncaafb/drive.rb
sportradar-api-0.11.10 lib/sportradar/api/football/ncaafb/drive.rb
sportradar-api-0.11.9 lib/sportradar/api/football/ncaafb/drive.rb
sportradar-api-0.11.8 lib/sportradar/api/football/ncaafb/drive.rb
sportradar-api-0.11.7 lib/sportradar/api/football/ncaafb/drive.rb
sportradar-api-0.11.6 lib/sportradar/api/football/ncaafb/drive.rb
sportradar-api-0.11.5 lib/sportradar/api/football/ncaafb/drive.rb
sportradar-api-0.11.4 lib/sportradar/api/football/ncaafb/drive.rb
sportradar-api-0.11.3 lib/sportradar/api/football/ncaafb/drive.rb
sportradar-api-0.11.1 lib/sportradar/api/football/ncaafb/drive.rb
sportradar-api-0.11.0 lib/sportradar/api/football/ncaafb/drive.rb