Skip to content

SHabor/itunes-subscription

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ItunesSubscription

Ruby wrapper for iTunes Subscription Apple doc

Installation

Add this line to your application's Gemfile:

gem 'itunes-subscription', git: 'https://github.com/SHabor/itunes-subscription.git'

And then execute:

$ bundle

Or install it yourself as:

$ gem install itunes-subscription

Usage

receipt = ItunesSubscription.verify_receipt(base64_string, sandbox = true, password)

methods:

receipt.status

or

receipt[:status]

other:

receipt.status_info
receipt.success?
receipt.error?
receipt.active_subscription

Contributing

Bug reports and pull requests are welcome on GitHub.

License

The gem is available as open source under the terms of the MIT License.