Sha256: fbfbdb7bba83901a3fa56694b295447be3cb479ed8edc6227f3687b444a87046

Contents?: true

Size: 355 Bytes

Versions: 15

Compression:

Stored size: 355 Bytes

Contents

module Sportradar
  module Api
    module Basketball
      class Rebound < Play::Base
        def base_key
          'rebound'
        end
        def display_type
          'Rebound'
        end
        def parse_statistics(data)
          super
          @rebound_type = @statistics.dig(base_key, 'rebound_type')
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
sportradar-api-0.9.50 lib/sportradar/api/basketball/plays/rebound.rb
sportradar-api-0.9.49 lib/sportradar/api/basketball/plays/rebound.rb
sportradar-api-0.9.48 lib/sportradar/api/basketball/plays/rebound.rb
sportradar-api-0.9.47 lib/sportradar/api/basketball/plays/rebound.rb
sportradar-api-0.9.46 lib/sportradar/api/basketball/plays/rebound.rb
sportradar-api-0.9.45 lib/sportradar/api/basketball/plays/rebound.rb
sportradar-api-0.9.41 lib/sportradar/api/basketball/plays/rebound.rb
sportradar-api-0.9.40 lib/sportradar/api/basketball/plays/rebound.rb
sportradar-api-0.9.39 lib/sportradar/api/basketball/plays/rebound.rb
sportradar-api-0.9.38 lib/sportradar/api/basketball/plays/rebound.rb
sportradar-api-0.9.37 lib/sportradar/api/basketball/plays/rebound.rb
sportradar-api-0.9.36 lib/sportradar/api/basketball/plays/rebound.rb
sportradar-api-0.9.35 lib/sportradar/api/basketball/plays/rebound.rb
sportradar-api-0.9.34 lib/sportradar/api/basketball/plays/rebound.rb
sportradar-api-0.9.33 lib/sportradar/api/basketball/plays/rebound.rb