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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/sellsy/opportunity.rb +3 -2
- data/lib/sellsy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a02ddba41485399c6bb3c087ea5e185ac250944bde45750b3e37c6132b6b826d
|
4
|
+
data.tar.gz: b5016a886309c52de1302b6f4a1be805d40f11437e88aa2298bf06ecc1a82181
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dbdfbe3ccb2320b97860767eba7b8e285a74eadc463da91c9904a0f71cd4fa3a2fcc02638a0efafae196e56c6bfd4642794420f8a9d6bb9d7f01877dffe8978
|
7
|
+
data.tar.gz: 6820dbe24da9da0db8dde4773e42ba8312ce7459f7948396602173305ae7a29e9927de84ba721c9d7cf64d6068b0c688eb0a7079c2eb8855dca79c9142509a4b
|
data/Gemfile.lock
CHANGED
data/lib/sellsy/opportunity.rb
CHANGED
@@ -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
|
data/lib/sellsy/version.rb
CHANGED
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.
|
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-
|
14
|
+
date: 2020-03-27 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: multi_json
|