Class: MLB::MediaCut
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- MLB::MediaCut
- Defined in:
- lib/mlb/game_content.rb
Overview
Represents a media image cut
Instance Attribute Summary collapse
-
#aspect_ratio ⇒ String
Returns the aspect ratio.
-
#height ⇒ Integer
Returns the height.
-
#src ⇒ String
Returns the image source URL.
-
#width ⇒ Integer
Returns the width.
Instance Attribute Details
#aspect_ratio ⇒ String
Returns the aspect ratio
36 |
# File 'lib/mlb/game_content.rb', line 36 attribute :aspect_ratio, Shale::Type::String |
#height ⇒ Integer
Returns the height
52 |
# File 'lib/mlb/game_content.rb', line 52 attribute :height, Shale::Type::Integer |
#src ⇒ String
Returns the image source URL
60 |
# File 'lib/mlb/game_content.rb', line 60 attribute :src, Shale::Type::String |
#width ⇒ Integer
Returns the width
44 |
# File 'lib/mlb/game_content.rb', line 44 attribute :width, Shale::Type::Integer |