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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3b293bceb20380d0e4a3629399e707278f19f892
4
- data.tar.gz: 2aad3d55e3fd4f20f305e77b0597c06b474bf9e8
3
+ metadata.gz: 54baee4ba5d3c2e352c7f01d1c094a178638e4f2
4
+ data.tar.gz: a1fe4ea4a94c5210c086b0638b34e3271427515e
5
5
  SHA512:
6
- metadata.gz: e2fd7606875832af9dd12301d0f409757d646e5c96d81a11a6cf00d9a044ee091ca92da93041c18796581333f8708bf4127f5ea690e7d71252171f8103c532d8
7
- data.tar.gz: a5dca33f11d64c7149cfa62c4833abaf480f306befeea06dcb1e3a6b3a8672759afc1cbac0ee768e8649a05d03f81d0f810830ff89d11d64fc837a6204006862
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
@@ -1,5 +1,5 @@
1
1
  module EarnShark
2
2
  module Api
3
- VERSION = "0.2.2".freeze
3
+ VERSION = "0.2.4".freeze
4
4
  end
5
5
  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.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-17 00:00:00.000000000 Z
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