Class: Bandcamp::Album
- Inherits:
-
Object
- Object
- Bandcamp::Album
- Includes:
- Associated, Methodical
- Defined in:
- lib/bandcamp/album.rb
Instance Method Summary collapse
- #band ⇒ Object
-
#initialize(album_hash) ⇒ Album
constructor
A new instance of Album.
- #to_json ⇒ Object
Constructor Details
Instance Method Details
#band ⇒ Object
19 20 21 |
# File 'lib/bandcamp/album.rb', line 19 def band retrieve_associated :band end |
#to_json ⇒ Object
23 24 25 |
# File 'lib/bandcamp/album.rb', line 23 def to_json MultiJson.encode @album_hash end |