Sha256: e7e3918b013e341dbdeeffb7c07a3907c61d407112157ea335c50a2bc5522dc5

Contents?: true

Size: 434 Bytes

Versions: 195

Compression:

Stored size: 434 Bytes

Contents

module Sportradar
  module Api
    module Basketball
      class FreeThrowMade < ShotMade
        def base_key
          "freethrow"
        end
        def display_type
          'FT Made'
        end
        def free_throw_type
          @free_throw_type ||= @statistics.dig(base_key, "free_throw_type")
        end
        def made?
          true
        end
        def points
          1
        end
      end
    end
  end
end

Version data entries

195 entries across 195 versions & 1 rubygems

Version Path
sportradar-api-0.20.2 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.20.1 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.20.0 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.20.0.pre2 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.20.0.pre lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.19.6 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.19.5 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.19.4 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.19.3 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.19.2 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.19.1 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.19.0 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.18.1 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.18.0 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.17.6 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.17.5 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.17.5.pre lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.17.4 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.17.3 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.17.2 lib/sportradar/api/basketball/plays/free_throw_made.rb