Class: TheGamesDB::Image::Banner
- Inherits:
-
Object
- Object
- TheGamesDB::Image::Banner
- Includes:
- SAXMachine
- Defined in:
- lib/the_games_db/image/banner.rb
Instance Method Summary collapse
Instance Method Details
#height ⇒ Object
19 20 21 |
# File 'lib/the_games_db/image/banner.rb', line 19 def height @height.to_i end |
#url ⇒ Object
11 12 13 |
# File 'lib/the_games_db/image/banner.rb', line 11 def url game.feed.base_image_url + path end |
#width ⇒ Object
15 16 17 |
# File 'lib/the_games_db/image/banner.rb', line 15 def width @width.to_i end |