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.11.28 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.11.27 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.11.26 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.11.25 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.11.24 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.11.23 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.11.22 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.11.21 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.11.20 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.11.19 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.11.18 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.11.17 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.11.16 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.11.15 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.11.14 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.11.13 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.11.12 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.11.11 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.11.10 lib/sportradar/api/basketball/plays/free_throw_made.rb
sportradar-api-0.11.9 lib/sportradar/api/basketball/plays/free_throw_made.rb