sellsy-client 0.3.0 → 0.4.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
  SHA256:
3
- metadata.gz: 51a9e7f54826cc77b1784e91113329ea52380c9379a9fcf7a5b425a97fb2e952
4
- data.tar.gz: 7060b5b64cd943c26d916eb87ce09e8fdeb76e48ac7b83b128982c2a87415a2b
3
+ metadata.gz: a02ddba41485399c6bb3c087ea5e185ac250944bde45750b3e37c6132b6b826d
4
+ data.tar.gz: b5016a886309c52de1302b6f4a1be805d40f11437e88aa2298bf06ecc1a82181
5
5
  SHA512:
6
- metadata.gz: 3379c071310f46fb48bd06a0e1a7bd51c26108f4b54e3f09e9a5944ceb68eae009eaef2fdde0179c813d973d75339bd6d9de47bdd0c93e98027376431b71559a
7
- data.tar.gz: 4d91ace6f38ddfe6d23b0dfa22fee7239b7b47729cef31d0cc00abf27905181af4c01dbf544df98213875d05a0bed79b259254b9b474570cef49b88125394dc2
6
+ metadata.gz: 1dbdfbe3ccb2320b97860767eba7b8e285a74eadc463da91c9904a0f71cd4fa3a2fcc02638a0efafae196e56c6bfd4642794420f8a9d6bb9d7f01877dffe8978
7
+ data.tar.gz: 6820dbe24da9da0db8dde4773e42ba8312ce7459f7948396602173305ae7a29e9927de84ba721c9d7cf64d6068b0c688eb0a7079c2eb8855dca79c9142509a4b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sellsy-client (0.2.0)
4
+ sellsy-client (0.3.0)
5
5
  multi_json (~> 1.11)
6
6
  rest-client (~> 2.0, >= 2.0.2)
7
7
 
@@ -3,7 +3,7 @@ require 'multi_json'
3
3
  module Sellsy
4
4
  class Opportunity
5
5
  attr_accessor :id, :name, :reference, :amount, :entity_type, :entity_id, :source_name, :funnel_name, :step_name,
6
- :comments
6
+ :comments, :contacts
7
7
 
8
8
  def create
9
9
  command = {
@@ -75,7 +75,8 @@ module Sellsy
75
75
  'potential' => @amount,
76
76
  'funnelid' => funnel['id'],
77
77
  'dueDate' => (Date.today + 1.month).to_datetime.to_i,
78
- 'stepid' => step['id']
78
+ 'stepid' => step['id'],
79
+ 'contacts' => @contacts.blank? ? nil : @contacts.join(',')
79
80
  }
80
81
  }
81
82
  else
@@ -1,3 +1,3 @@
1
1
  module Sellsy
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sellsy-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Stammers
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2020-03-26 00:00:00.000000000 Z
14
+ date: 2020-03-27 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: multi_json