zuora_connect 1.4.37 → 1.4.38
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/app/models/zuora_connect/app_instance_base.rb +9 -0
- data/lib/zuora_connect/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: 45e482296bb9bae62769cf55aa5944eecf31755f
|
|
4
|
+
data.tar.gz: feaacc1916dc12bbcb2a9dbb3732a49098bc5917
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 587df5f86b403fcb4f25f953887c7d638e9e395aff6d6b8defc5ce90cc8d1b114f008609072bafd5ffda5cc586dd86505041aa01daa1bccf071bb32970df9be8
|
|
7
|
+
data.tar.gz: 0ddaa61815730c0d27fe439327c18e84f79b7ef0bbeed0d9e76c79df4dd4d1e5cecfdc52eb2edf0205211178b31ab9dcb57820c58c6ca068ee44a6cc9819cf29
|
|
@@ -331,6 +331,15 @@ module ZuoraConnect
|
|
|
331
331
|
end
|
|
332
332
|
end
|
|
333
333
|
|
|
334
|
+
#Example
|
|
335
|
+
#{"name": "ftp_login_14","username": "ftplogin7","tenant_type": "Custom","password": "test2","url": "www.ftp.com","custom_data": { "path": "/var/usr/test"}}
|
|
336
|
+
#This can update an existing login
|
|
337
|
+
#This can add a new login
|
|
338
|
+
#This can change to another existing login
|
|
339
|
+
def update_logins(options)
|
|
340
|
+
return HTTParty.post(ZuoraConnect.configuration.url + "/api/v2/tools/tasks/#{self.id}/logins",:body => {:access_token => self.username}.merge(options))
|
|
341
|
+
end
|
|
342
|
+
|
|
334
343
|
def refresh(session = nil)
|
|
335
344
|
count ||= 0
|
|
336
345
|
if self.api_version == "v1"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zuora_connect
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.38
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Connect Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-07-
|
|
11
|
+
date: 2017-07-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord-session_store
|