zuora_connect 1.4.37 → 1.4.38

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: 85c715ced93decfded13eab67fb30866ca21bfe9
4
- data.tar.gz: aca2a1511f0c48eba77340849db9499a771fec6f
3
+ metadata.gz: 45e482296bb9bae62769cf55aa5944eecf31755f
4
+ data.tar.gz: feaacc1916dc12bbcb2a9dbb3732a49098bc5917
5
5
  SHA512:
6
- metadata.gz: 84bbb625e6b442d9aae0ca9fef1feb229b7272bebe5b383a3b9c3ccd5e2409d3b8b690aeedd381c3e7757f6d313971c4bfd42b5a9e346a976594e3c78b8e2ac3
7
- data.tar.gz: fbc1cc899d12251f0b37b7af163f3dd3727e5d674e3c8d0a4046a3ea16cfdaa8a02ee7df90c453026f634bc054135c58de2a4ae5d441f355088b8cac9eeb7516
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"
@@ -1,3 +1,3 @@
1
1
  module ZuoraConnect
2
- VERSION = "1.4.37"
2
+ VERSION = "1.4.38"
3
3
  end
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.37
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-13 00:00:00.000000000 Z
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