Class: Itunes::Receipt::V1
- Inherits:
-
Object
- Object
- Itunes::Receipt::V1
- Includes:
- Properties
- Defined in:
- lib/itunes/receipt/v1.rb
Constant Summary collapse
- PROPERTY_LIST =
%w(unique_identifier product_id bid unique_vendor_identifier bvrs transaction_id original_transaction_id quantity item_id web_order_line_item_id original_purchase_date purchase_date expires_date)
Constants included from Properties
Instance Method Summary collapse
Methods included from Properties
Instance Method Details
#expired? ⇒ Boolean
14 15 16 |
# File 'lib/itunes/receipt/v1.rb', line 14 def expired? self.expires_date < Time.now end |
#to_h ⇒ Object
10 11 12 |
# File 'lib/itunes/receipt/v1.rb', line 10 def to_h data.dup end |