sailplay 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sailplay/rails/client.rb +1 -1
- data/lib/sailplay/version.rb +1 -1
- metadata +3 -3
@@ -47,7 +47,7 @@ module Sailplay
|
|
47
47
|
|
48
48
|
def report_sailplay_purchase(user_id, order_id, price)
|
49
49
|
purchase = Sailplay.create_purchase(user_id, price, :order_id => order_id)
|
50
|
-
sailplay_options :
|
50
|
+
sailplay_options :public_key => purchase.public_key
|
51
51
|
purchase
|
52
52
|
rescue Sailplay::Error => e
|
53
53
|
logger.error "Error reporting purchase to Sailplay: #{e.message}"
|
data/lib/sailplay/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sailplay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Sergey Nebolsin
|