Sha256: ac6d9a671d932b2f02ec80ebcd5c89c5b9080c2eebd6ca337abd4f95454055f1

Contents?: true

Size: 470 Bytes

Versions: 7

Compression:

Stored size: 470 Bytes

Contents

module Sportradar
  module Api
    module Basketball
      class Timeout < Play::Base
        attr_writer :media_timeout
        def display_type
          'Timeout'
        end
        def identifier
          "#{quarter}_#{(720 - clock_seconds).to_s.rjust(3, '0')}".to_i
        end
        def timeout?
          true
        end
        def full?
          true
        end
        def media_timeout?
          @media_timeout
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sportradar-api-0.9.59 lib/sportradar/api/basketball/plays/timeout.rb
sportradar-api-0.9.58 lib/sportradar/api/basketball/plays/timeout.rb
sportradar-api-0.9.57 lib/sportradar/api/basketball/plays/timeout.rb
sportradar-api-0.9.56 lib/sportradar/api/basketball/plays/timeout.rb
sportradar-api-0.9.55 lib/sportradar/api/basketball/plays/timeout.rb
sportradar-api-0.9.54 lib/sportradar/api/basketball/plays/timeout.rb
sportradar-api-0.9.53 lib/sportradar/api/basketball/plays/timeout.rb