Class: MLB::GameContentMedia

Inherits:
Shale::Mapper
  • Object
show all
Defined in:
lib/mlb/game_content.rb

Overview

Represents the game content media

Instance Attribute Summary collapse

Instance Attribute Details

#enhanced_gameBoolean

Returns whether this is an enhanced game

Examples:

media.enhanced_game #=> false

Returns:

  • (Boolean)

    whether enhanced game



196
# File 'lib/mlb/game_content.rb', line 196

attribute :enhanced_game, Shale::Type::Boolean

#free_gameBoolean

Returns whether this is a free game

Examples:

media.free_game #=> true

Returns:

  • (Boolean)

    whether free game



188
# File 'lib/mlb/game_content.rb', line 188

attribute :free_game, Shale::Type::Boolean