Skip to content
/ oja Public

Oja is a Ruby client for verification of Apple Store Receipts.

License

Notifications You must be signed in to change notification settings

Fingertips/oja

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oja

Oja is a Ruby client for verification of Apple Store Receipts.

iOS and Mac application receive Receipts when handling purchases from the App Store. Before authorizing access to in-app content, these applications need to verify the receipt with Apple. Oja helps you check the Receipt's status.

Install

$ gem install oja

Get started

response = Oja.verify(:data => data)
if response.active?
  # Whatever you need to do
  p response.receipt_data
elsif response.inactive?
  # The receipt probably expired
else
  raise RuntimeError, response.humanized_status
end

Oja?

Ja.

About

Oja is a Ruby client for verification of Apple Store Receipts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages