Skip to content

Latest commit

 

History

History
47 lines (26 loc) · 966 Bytes

README.md

File metadata and controls

47 lines (26 loc) · 966 Bytes

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.