Class: ItunesController::DummyItunesTrack
- Inherits:
-
Object
- Object
- ItunesController::DummyItunesTrack
- Defined in:
- lib/itunesController/dummy_itunes_track.rb
Instance Attribute Summary collapse
-
#databaseID ⇒ Object
Returns the value of attribute databaseID.
-
#location ⇒ Object
Returns the value of attribute location.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(location, databaseId, name) ⇒ DummyItunesTrack
constructor
A new instance of DummyItunesTrack.
- #refresh ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(location, databaseId, name) ⇒ DummyItunesTrack
Returns a new instance of DummyItunesTrack.
26 27 28 29 30 |
# File 'lib/itunesController/dummy_itunes_track.rb', line 26 def initialize(location,databaseId,name) @location = location @databaseID = databaseId @name = name end |
Instance Attribute Details
#databaseID ⇒ Object
Returns the value of attribute databaseID.
24 25 26 |
# File 'lib/itunesController/dummy_itunes_track.rb', line 24 def databaseID @databaseID end |
#location ⇒ Object
Returns the value of attribute location.
24 25 26 |
# File 'lib/itunesController/dummy_itunes_track.rb', line 24 def location @location end |
#name ⇒ Object
Returns the value of attribute name.
24 25 26 |
# File 'lib/itunesController/dummy_itunes_track.rb', line 24 def name @name end |
Instance Method Details
#refresh ⇒ Object
32 33 |
# File 'lib/itunesController/dummy_itunes_track.rb', line 32 def refresh end |
#to_s ⇒ Object
35 36 37 |
# File 'lib/itunesController/dummy_itunes_track.rb', line 35 def to_s return "Location: '#{@location}' - Database ID: #{@databaseID} - Name: '#{@name}' " end |