Class: Musicbrainz::CoverArtArchive
- Inherits:
-
Object
- Object
- Musicbrainz::CoverArtArchive
- Defined in:
- lib/wrapper/resources/cover_art_archive.rb
Instance Attribute Summary collapse
-
#artwork ⇒ Object
Returns the value of attribute artwork.
-
#back ⇒ Object
Returns the value of attribute back.
-
#count ⇒ Object
Returns the value of attribute count.
-
#darkened ⇒ Object
Returns the value of attribute darkened.
-
#front ⇒ Object
Returns the value of attribute front.
Instance Method Summary collapse
-
#initialize(args) ⇒ CoverArtArchive
constructor
A new instance of CoverArtArchive.
Constructor Details
#initialize(args) ⇒ CoverArtArchive
Returns a new instance of CoverArtArchive.
5 6 7 8 9 |
# File 'lib/wrapper/resources/cover_art_archive.rb', line 5 def initialize args args.each do |k, v| instance_variable_set("@#{k.gsub('-', '_')}", v) unless v.nil? end end |
Instance Attribute Details
#artwork ⇒ Object
Returns the value of attribute artwork.
3 4 5 |
# File 'lib/wrapper/resources/cover_art_archive.rb', line 3 def artwork @artwork end |
#back ⇒ Object
Returns the value of attribute back.
3 4 5 |
# File 'lib/wrapper/resources/cover_art_archive.rb', line 3 def back @back end |
#count ⇒ Object
Returns the value of attribute count.
3 4 5 |
# File 'lib/wrapper/resources/cover_art_archive.rb', line 3 def count @count end |
#darkened ⇒ Object
Returns the value of attribute darkened.
3 4 5 |
# File 'lib/wrapper/resources/cover_art_archive.rb', line 3 def darkened @darkened end |
#front ⇒ Object
Returns the value of attribute front.
3 4 5 |
# File 'lib/wrapper/resources/cover_art_archive.rb', line 3 def front @front end |