Class: Musicbrainz::CoverArtArchive

Inherits:
Object
  • Object
show all
Defined in:
lib/wrapper/resources/cover_art_archive.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#artworkObject

Returns the value of attribute artwork.



3
4
5
# File 'lib/wrapper/resources/cover_art_archive.rb', line 3

def artwork
  @artwork
end

#backObject

Returns the value of attribute back.



3
4
5
# File 'lib/wrapper/resources/cover_art_archive.rb', line 3

def back
  @back
end

#countObject

Returns the value of attribute count.



3
4
5
# File 'lib/wrapper/resources/cover_art_archive.rb', line 3

def count
  @count
end

#darkenedObject

Returns the value of attribute darkened.



3
4
5
# File 'lib/wrapper/resources/cover_art_archive.rb', line 3

def darkened
  @darkened
end

#frontObject

Returns the value of attribute front.



3
4
5
# File 'lib/wrapper/resources/cover_art_archive.rb', line 3

def front
  @front
end