Class: Google::Book::Cover
- Inherits:
-
Object
- Object
- Google::Book::Cover
- Defined in:
- lib/google/book/cover.rb
Instance Method Summary collapse
- #extra_large ⇒ Object
-
#initialize(url) ⇒ Cover
constructor
A new instance of Cover.
- #large ⇒ Object
- #medium ⇒ Object
- #small ⇒ Object
- #thumbnail ⇒ Object
Constructor Details
#initialize(url) ⇒ Cover
Returns a new instance of Cover.
4 5 6 |
# File 'lib/google/book/cover.rb', line 4 def initialize(url) @url = url end |
Instance Method Details
#extra_large ⇒ Object
24 25 26 |
# File 'lib/google/book/cover.rb', line 24 def extra_large urlify(6) end |
#large ⇒ Object
20 21 22 |
# File 'lib/google/book/cover.rb', line 20 def large urlify(3) end |
#medium ⇒ Object
16 17 18 |
# File 'lib/google/book/cover.rb', line 16 def medium urlify(2) end |
#small ⇒ Object
12 13 14 |
# File 'lib/google/book/cover.rb', line 12 def small urlify(1) end |
#thumbnail ⇒ Object
8 9 10 |
# File 'lib/google/book/cover.rb', line 8 def thumbnail urlify(5) end |