itunes-receipt 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,16 +0,0 @@
1
- require 'restclient'
2
-
3
- module RestClient
4
-
5
- def self.ssl_settings
6
- {
7
- :verify_ssl => OpenSSL::SSL::VERIFY_PEER,
8
- :ssl_ca_file => File.join(File.dirname(__FILE__), 'cert')
9
- }
10
- end
11
-
12
- def self.post(url, payload, headers={}, &block)
13
- Request.execute(ssl_settings.merge(:method => :post, :url => url, :payload => payload, :headers => headers), &block)
14
- end
15
-
16
- end