Class: Id3Taginator::Frames::Tos::Entities::Ownership
- Inherits:
-
Object
- Object
- Id3Taginator::Frames::Tos::Entities::Ownership
- Includes:
- Extensions::Comparable
- Defined in:
- lib/id3taginator/frames/tos/entities/ownership.rb
Instance Attribute Summary collapse
-
#date_of_purchase ⇒ Object
Returns the value of attribute date_of_purchase.
-
#price_paid ⇒ Object
Returns the value of attribute price_paid.
-
#seller ⇒ Object
Returns the value of attribute seller.
Instance Method Summary collapse
-
#initialize(price_paid, date_of_purchase, seller) ⇒ Ownership
constructor
constructor.
Methods included from Extensions::Comparable
Constructor Details
#initialize(price_paid, date_of_purchase, seller) ⇒ Ownership
constructor
17 18 19 20 21 |
# File 'lib/id3taginator/frames/tos/entities/ownership.rb', line 17 def initialize(price_paid, date_of_purchase, seller) @price_paid = price_paid @date_of_purchase = date_of_purchase @seller = seller end |
Instance Attribute Details
#date_of_purchase ⇒ Object
Returns the value of attribute date_of_purchase.
10 11 12 |
# File 'lib/id3taginator/frames/tos/entities/ownership.rb', line 10 def date_of_purchase @date_of_purchase end |
#price_paid ⇒ Object
Returns the value of attribute price_paid.
10 11 12 |
# File 'lib/id3taginator/frames/tos/entities/ownership.rb', line 10 def price_paid @price_paid end |
#seller ⇒ Object
Returns the value of attribute seller.
10 11 12 |
# File 'lib/id3taginator/frames/tos/entities/ownership.rb', line 10 def seller @seller end |