Class: Discogs::Image

Inherits:
Resource show all
Defined in:
lib/wrapper/resources/image.rb

Overview

Represents an image in the Discogs API.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Resource

#build!, #build_with_resp!, #initialize, #original_content

Methods included from ResourceMappings

included

Constructor Details

This class inherits a constructor from Discogs::Resource

Instance Attribute Details

#heightObject

Returns the value of attribute height.



5
6
7
# File 'lib/wrapper/resources/image.rb', line 5

def height
  @height
end

#typeObject

Returns the value of attribute type.



5
6
7
# File 'lib/wrapper/resources/image.rb', line 5

def type
  @type
end

#uriObject

Returns the value of attribute uri.



5
6
7
# File 'lib/wrapper/resources/image.rb', line 5

def uri
  @uri
end

#uri150Object

Returns the value of attribute uri150.



5
6
7
# File 'lib/wrapper/resources/image.rb', line 5

def uri150
  @uri150
end

#widthObject

Returns the value of attribute width.



5
6
7
# File 'lib/wrapper/resources/image.rb', line 5

def width
  @width
end