wealthforge-ruby 2.0.0 → 2.1.0

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: 2309bce743622e8eb49912b27e80e7ae7026fc02
4
- data.tar.gz: b0ffddeac60fa25703bd98072ac82e2360005e52
3
+ metadata.gz: 19a2e7ba726fc42e0c48a4cc77779cfe8f9768d0
4
+ data.tar.gz: 756ee86d0f337f8bcd7f4471af7e79c3b0c7063e
5
5
  SHA512:
6
- metadata.gz: ad5a449f13e7e79063c5df328518050872b1846b1c2c7b08acf34783b0b73dec70f9574f3a92d1e3777a4afc2d9067154b3ba0cb2b51452cbdf9fb9db90e59fb
7
- data.tar.gz: 7f2ac8c50468da962e6b47037ea08d7b286e9529cd5f558633108ca1b4ada6e9debe0377cd7cfb42dab2d419bce40a0cd1c48fdc2b8d52b594a0aca59c75afb5
6
+ metadata.gz: aa9aeab85162af636e39b08f3851e07b71d2af6ff68b350a769bb0d1a36f1e00681275d0fab452d1f2661e2dfb0b2f67ae40a6c0894823e1876b72ecde87c0e6
7
+ data.tar.gz: 3ef2de09ae264c0dd091b9d25f912113bd56a0eff962e6d12a0b8e1fd4c708b102cb9f96fab243f09bf41f395d23674e256a2030a3cae15cfbf1b031cbab5807
@@ -12,4 +12,8 @@ class WealthForge::Investment
12
12
  WealthForge::Connection.file_upload "files/#{subscription_id}", file_path, filename, mime_type
13
13
  end
14
14
 
15
+ def self.cancel_subscription(subscription_id)
16
+ WealthForge::Connection.patch "subscriptions/#{subscription_id}/status/SPONSOR_CANCELLED", nil
17
+ end
18
+
15
19
  end
@@ -1,3 +1,3 @@
1
1
  module WealthForge
2
- VERSION = '2.0.0'
2
+ VERSION = '2.1.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wealthforge-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dino Simone | dinosimone.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-09 00:00:00.000000000 Z
11
+ date: 2018-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday