Class: MusicTodayApiWrapper::Resources::Image
- Inherits:
-
Object
- Object
- MusicTodayApiWrapper::Resources::Image
- Defined in:
- lib/resources/image.rb
Instance Attribute Summary collapse
-
#large ⇒ Object
Returns the value of attribute large.
-
#medium ⇒ Object
Returns the value of attribute medium.
-
#short ⇒ Object
Returns the value of attribute short.
Instance Method Summary collapse
-
#initialize(short = nil, medium = nil, large = nil) ⇒ Image
constructor
A new instance of Image.
Constructor Details
#initialize(short = nil, medium = nil, large = nil) ⇒ Image
Returns a new instance of Image.
6 7 8 9 10 |
# File 'lib/resources/image.rb', line 6 def initialize(short = nil, medium = nil, large = nil) @short = short @medium = medium @large = large end |
Instance Attribute Details
#large ⇒ Object
Returns the value of attribute large.
4 5 6 |
# File 'lib/resources/image.rb', line 4 def large @large end |
#medium ⇒ Object
Returns the value of attribute medium.
4 5 6 |
# File 'lib/resources/image.rb', line 4 def medium @medium end |
#short ⇒ Object
Returns the value of attribute short.
4 5 6 |
# File 'lib/resources/image.rb', line 4 def short @short end |