Class: Discogs::Image
- Defined in:
- lib/wrapper/resources/image.rb
Overview
Represents an image in the Discogs API.
Instance Attribute Summary collapse
-
#height ⇒ Object
Returns the value of attribute height.
-
#type ⇒ Object
Returns the value of attribute type.
-
#uri ⇒ Object
Returns the value of attribute uri.
-
#uri150 ⇒ Object
Returns the value of attribute uri150.
-
#width ⇒ Object
Returns the value of attribute width.
Method Summary
Methods inherited from Resource
#build!, #build_with_resp!, #initialize, #original_content
Methods included from ResourceMappings
Constructor Details
This class inherits a constructor from Discogs::Resource
Instance Attribute Details
#height ⇒ Object
Returns the value of attribute height.
5 6 7 |
# File 'lib/wrapper/resources/image.rb', line 5 def height @height end |
#type ⇒ Object
Returns the value of attribute type.
5 6 7 |
# File 'lib/wrapper/resources/image.rb', line 5 def type @type end |
#uri ⇒ Object
Returns the value of attribute uri.
5 6 7 |
# File 'lib/wrapper/resources/image.rb', line 5 def uri @uri end |
#uri150 ⇒ Object
Returns the value of attribute uri150.
5 6 7 |
# File 'lib/wrapper/resources/image.rb', line 5 def uri150 @uri150 end |
#width ⇒ Object
Returns the value of attribute width.
5 6 7 |
# File 'lib/wrapper/resources/image.rb', line 5 def width @width end |