earnshark_sdk 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/earnshark_sdk-0.2.1.gem +0 -0
- data/earnshark_sdk-0.2.2.gem +0 -0
- data/lib/earnshark_sdk/api/subscription.rb +3 -2
- data/lib/earnshark_sdk/api/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54baee4ba5d3c2e352c7f01d1c094a178638e4f2
|
4
|
+
data.tar.gz: a1fe4ea4a94c5210c086b0638b34e3271427515e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 545deaa1d6f552582dc27039e71bc206a2713c82b1b3e0f272d0aeb0704d66b3918538538f2e440b8272d923af6ce3c510fbbf3a0a5b772d6ceafeb87f8fe309
|
7
|
+
data.tar.gz: 275aba146fea7761ff059bb62ccce0c01eee64b287da98e05ef629a9b61ee616d4926c46005b4b10e1b10c3d912101fca700aa7bd369b7575dce885041a887bf
|
Binary file
|
Binary file
|
@@ -17,11 +17,12 @@ module EarnShark
|
|
17
17
|
# Get payment URL
|
18
18
|
# Example response:
|
19
19
|
# {"url":"http://app.earnshark.com.s3-website-eu-west-1.amazonaws.com/payments.html?transactionID=XXXXXXXXX"}
|
20
|
-
def get_payment_url(account_id, redirect)
|
20
|
+
def get_payment_url(account_id, redirect, new_license_id)
|
21
21
|
body = { :redirect => redirect,
|
22
22
|
:account_id => account_id,
|
23
23
|
:product_id => @product_id,
|
24
|
-
:key => @key
|
24
|
+
:key => @key,
|
25
|
+
:new_license_id => new_license_id
|
25
26
|
}
|
26
27
|
post("#{base_url}/payments/getTransactionID", body)
|
27
28
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: earnshark_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chamath Palihawadana
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-10-
|
12
|
+
date: 2017-10-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -73,6 +73,8 @@ files:
|
|
73
73
|
- Rakefile
|
74
74
|
- bin/console
|
75
75
|
- bin/setup
|
76
|
+
- earnshark_sdk-0.2.1.gem
|
77
|
+
- earnshark_sdk-0.2.2.gem
|
76
78
|
- earnshark_sdk.gemspec
|
77
79
|
- lib/earnshark_sdk/api.rb
|
78
80
|
- lib/earnshark_sdk/api/account.rb
|