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 +4 -4
- data/lib/wealthforge/investment.rb +4 -0
- data/lib/wealthforge/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19a2e7ba726fc42e0c48a4cc77779cfe8f9768d0
|
4
|
+
data.tar.gz: 756ee86d0f337f8bcd7f4471af7e79c3b0c7063e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/wealthforge/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2018-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|