earnshark_sdk 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d94c0a4cd2cd9204b42f5d40ecfc59768477382d
4
- data.tar.gz: 7378d4d58129be5686965b957cfbaff6f5bf4875
3
+ metadata.gz: 3b293bceb20380d0e4a3629399e707278f19f892
4
+ data.tar.gz: 2aad3d55e3fd4f20f305e77b0597c06b474bf9e8
5
5
  SHA512:
6
- metadata.gz: 046f32bfe87ccb8dbfcf1f5c0b8e52efaa66dec95170409696b793e6ec3bf3f09c4cddaf39eb4beec07699c90a3fbfcde26d4ce3268d833c09d58c8aa670bde4
7
- data.tar.gz: 66f5f8d011b0c93c69ac23539600fbcf9ffac176abe815956b53bdb8cbf17a5834ad78cdd9c31732da91a4911b0d5b31122f0b121384ac83a08e1fded599c55b
6
+ metadata.gz: e2fd7606875832af9dd12301d0f409757d646e5c96d81a11a6cf00d9a044ee091ca92da93041c18796581333f8708bf4127f5ea690e7d71252171f8103c532d8
7
+ data.tar.gz: a5dca33f11d64c7149cfa62c4833abaf480f306befeea06dcb1e3a6b3a8672759afc1cbac0ee768e8649a05d03f81d0f810830ff89d11d64fc837a6204006862
@@ -11,7 +11,7 @@ module EarnShark
11
11
  # Example response:
12
12
  # { "Date":"01/01/2016", "Cost":{ "value":"100", "currency":"USD" }, "Name":"5 Users Plan", "Product_ID":1, "Customer_ID":1, "Customer_Name":"Customer Name", "Account_ID":"123456", "Metadata":"{\"users\":\"10 users\"}", "Subscription_ID":1, "Tags":[ "10users" ], "License_ID":1, "Invalid":false, "Expired":false, "Billing_Cycle":{ "value":1, "type":"Monthly" }, "Description":"10 Users per month / 100", "Tenant_ID":"eu-west-1:00000000-0000-0000-0000-000000000000" }
13
13
  def renew_subscription(subscription_id, new_license_id)
14
- get("#{base_url}product/#@product_id/subscription/#{subscription_id}/apiRenewSubscription/#{new_license_id}?key=#@key")
14
+ get("#{base_url}product/#@product_id/subscription/#{subscription_id}/apiRenewSubscriptionV2/#{new_license_id}?key=#@key")
15
15
  end
16
16
 
17
17
  # Get payment URL
@@ -1,5 +1,5 @@
1
1
  module EarnShark
2
2
  module Api
3
- VERSION = "0.2.1".freeze
3
+ VERSION = "0.2.2".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.1
4
+ version: 0.2.2
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-09-22 00:00:00.000000000 Z
12
+ date: 2017-10-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler