Class: Discogs::Release
Constant Summary
Constants inherited from Base
Instance Attribute Summary collapse
-
#contributors ⇒ Object
An array of Contributor objects.
-
#country ⇒ Object
Discogs Data.
-
#discog_id ⇒ Object
Returns the value of attribute discog_id.
-
#discog_status ⇒ Object
status as determined by discogs ‘Approved’, etc..
-
#format ⇒ Object
Returns the value of attribute format.
-
#formats ⇒ Object
An array of Format objects.
-
#genres ⇒ Object
Discogs Data.
-
#images ⇒ Object
An array of Image objects.
-
#label ⇒ Object
Returns the value of attribute label.
-
#labels ⇒ Object
Discogs Data.
-
#released ⇒ Object
Discogs Data.
-
#styles ⇒ Object
Discogs Data.
-
#title ⇒ Object
Discogs Data.
-
#tracks ⇒ Object
An array of Track objects.
Attributes inherited from Base
#api_key, #request_string, #request_type
Instance Method Summary collapse
-
#initialize(discog_id) ⇒ Release
constructor
A new instance of Release.
-
#to_s ⇒ Object
:nodoc:.
Methods inherited from Base
Constructor Details
#initialize(discog_id) ⇒ Release
Returns a new instance of Release.
19 20 21 22 |
# File 'lib/release.rb', line 19 def initialize(discog_id) @discog_id = discog_id super end |
Instance Attribute Details
#contributors ⇒ Object
An array of Contributor objects
89 90 91 |
# File 'lib/release.rb', line 89 def contributors @contributors end |
#country ⇒ Object
Discogs Data
51 52 53 |
# File 'lib/release.rb', line 51 def country @country end |
#discog_id ⇒ Object
Returns the value of attribute discog_id.
4 5 6 |
# File 'lib/release.rb', line 4 def discog_id @discog_id end |
#discog_status ⇒ Object
status as determined by discogs ‘Approved’, etc..
26 27 28 |
# File 'lib/release.rb', line 26 def discog_status @discog_status end |
#format ⇒ Object
Returns the value of attribute format.
4 5 6 |
# File 'lib/release.rb', line 4 def format @format end |
#formats ⇒ Object
An array of Format objects
61 62 63 |
# File 'lib/release.rb', line 61 def formats @formats end |
#genres ⇒ Object
Discogs Data
41 42 43 |
# File 'lib/release.rb', line 41 def genres @genres end |
#images ⇒ Object
An array of Image objects
78 79 80 |
# File 'lib/release.rb', line 78 def images @images end |
#label ⇒ Object
Returns the value of attribute label.
4 5 6 |
# File 'lib/release.rb', line 4 def label @label end |
#labels ⇒ Object
Discogs Data
36 37 38 |
# File 'lib/release.rb', line 36 def labels @labels end |
#released ⇒ Object
Discogs Data
56 57 58 |
# File 'lib/release.rb', line 56 def released @released end |
#styles ⇒ Object
Discogs Data
46 47 48 |
# File 'lib/release.rb', line 46 def styles @styles end |
#title ⇒ Object
Discogs Data
31 32 33 |
# File 'lib/release.rb', line 31 def title @title end |
#tracks ⇒ Object
An array of Track objects
68 69 70 |
# File 'lib/release.rb', line 68 def tracks @tracks end |
Instance Method Details
#to_s ⇒ Object
:nodoc:
95 96 97 |
# File 'lib/release.rb', line 95 def to_s #:nodoc: "#{title} - #{label} - #{released} - #{format}" end |