Class: PheldItunesTrack
- Inherits:
-
Object
- Object
- PheldItunesTrack
- Defined in:
- lib/pheld_itunes_track.rb
Instance Attribute Summary collapse
-
#album ⇒ Object
Returns the value of attribute album.
-
#artist ⇒ Object
Returns the value of attribute artist.
-
#bit_rate ⇒ Object
Returns the value of attribute bit_rate.
-
#date_added ⇒ Object
Returns the value of attribute date_added.
-
#genre ⇒ Object
Returns the value of attribute genre.
-
#name ⇒ Object
Returns the value of attribute name.
-
#play_count ⇒ Object
Returns the value of attribute play_count.
-
#rating ⇒ Object
Returns the value of attribute rating.
-
#total_time ⇒ Object
Returns the value of attribute total_time.
-
#track_id ⇒ Object
Returns the value of attribute track_id.
-
#year ⇒ Object
Returns the value of attribute year.
Instance Method Summary collapse
-
#initialize ⇒ PheldItunesTrack
constructor
A new instance of PheldItunesTrack.
Constructor Details
#initialize ⇒ PheldItunesTrack
Returns a new instance of PheldItunesTrack.
14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/pheld_itunes_track.rb', line 14 def initialize @track_id = nil @name = nil @artist = nil @album = nil @total_time = nil @year = nil @bit_rate = nil @play_count = nil @rating = nil @date_added = nil @genre = nil end |
Instance Attribute Details
#album ⇒ Object
Returns the value of attribute album.
5 6 7 |
# File 'lib/pheld_itunes_track.rb', line 5 def album @album end |
#artist ⇒ Object
Returns the value of attribute artist.
4 5 6 |
# File 'lib/pheld_itunes_track.rb', line 4 def artist @artist end |
#bit_rate ⇒ Object
Returns the value of attribute bit_rate.
8 9 10 |
# File 'lib/pheld_itunes_track.rb', line 8 def bit_rate @bit_rate end |
#date_added ⇒ Object
Returns the value of attribute date_added.
11 12 13 |
# File 'lib/pheld_itunes_track.rb', line 11 def date_added @date_added end |
#genre ⇒ Object
Returns the value of attribute genre.
12 13 14 |
# File 'lib/pheld_itunes_track.rb', line 12 def genre @genre end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/pheld_itunes_track.rb', line 3 def name @name end |
#play_count ⇒ Object
Returns the value of attribute play_count.
9 10 11 |
# File 'lib/pheld_itunes_track.rb', line 9 def play_count @play_count end |
#rating ⇒ Object
Returns the value of attribute rating.
10 11 12 |
# File 'lib/pheld_itunes_track.rb', line 10 def @rating end |
#total_time ⇒ Object
Returns the value of attribute total_time.
6 7 8 |
# File 'lib/pheld_itunes_track.rb', line 6 def total_time @total_time end |
#track_id ⇒ Object
Returns the value of attribute track_id.
2 3 4 |
# File 'lib/pheld_itunes_track.rb', line 2 def track_id @track_id end |
#year ⇒ Object
Returns the value of attribute year.
7 8 9 |
# File 'lib/pheld_itunes_track.rb', line 7 def year @year end |