Class: Songkicky::Artist
Instance Attribute Summary collapse
-
#mbid ⇒ Object
Returns the value of attribute mbid.
-
#name ⇒ Object
Returns the value of attribute name.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(mbid) ⇒ Artist
constructor
A new instance of Artist.
- #upcoming_events ⇒ Object
Methods included from JsonApi
Constructor Details
#initialize(mbid) ⇒ Artist
Returns a new instance of Artist.
25 26 27 28 |
# File 'lib/artist.rb', line 25 def initialize(mbid) @mbid = mbid @upcoming_events = nil end |
Instance Attribute Details
#mbid ⇒ Object
Returns the value of attribute mbid.
7 8 9 |
# File 'lib/artist.rb', line 7 def mbid @mbid end |
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/artist.rb', line 7 def name @name end |