This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This module is created to test the apple sandbox in app purchase server to validate a receipt using Ruby Code. | |
| # Based on VerifyReceipt.rb [@sauloarruda (http://twitter.com/sauloarruda)] | |
| # AppStore.rb by @gessgallardo (http://twitter.com/gessgallardo) | |
| require "faraday" | |
| require "faraday_middleware" | |
| module AppStore | |
| class Requestor | |
| attr_accessor :test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # This class will wrap an S3 object and provide the methods that the Mailgun library expects in order | |
| # to use the S3 object for sending a mail attachment. | |
| # | |
| # Use as follows: | |
| # | |
| # data = Multimap.new | |
| # data[:from] = "My Self <no-reply@example.com>" | |
| # data[:subject] = "Subject" | |
| # data[:to] = "#{recipients.join(', ')}" |