Sha256: a5518f2c0de1c73df1730de543611307ef661ad4e59bcae6839d10e04b2f7412

Contents?: true

Size: 436 Bytes

Versions: 13

Compression:

Stored size: 436 Bytes

Contents

module Sportradar
  module Api
    module Basketball
      class FreeThrowMade < Play::Base
        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

13 entries across 13 versions & 1 rubygems

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