class Itunes::Receipt::V1

Constants

PROPERTY_LIST

Public Class Methods

new(data: nil) click to toggle source
# File lib/itunes/receipt/v1.rb, line 20
def initialize data: nil
   @data = data
end

Public Instance Methods

expired?() click to toggle source
# File lib/itunes/receipt/v1.rb, line 14
def expired?
   self.expires_date < Time.now
end
to_h() click to toggle source
# File lib/itunes/receipt/v1.rb, line 10
def to_h
   data.dup
end