active_campaign_webhooks 0.3.2 → 0.3.7

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: 7052bb5ec8ae0782ee8d1272873d7fcfa372194b6df06a02312d9918160a1b31
4
- data.tar.gz: c0c15d4626edc234157297ec65660c0f0345fc30b1ba0e03694cb1a1ff57fa52
3
+ metadata.gz: 0b2b8ae4350387297ee735f775e2f01bb69036cf22c951983ecec466f94496eb
4
+ data.tar.gz: 94c1970ed27ed114092e877f7a9d3de6a482766d1e827612e79576ef9c6e22d8
5
5
  SHA512:
6
- metadata.gz: e672a4db27ec89ea6c5384427139a93756f3b910be646cf825da4ef7c9c679280bbdbfcb9a5b8f4c94a645f00fad1ff02fdff838af1c97bcadcbc468debd075c
7
- data.tar.gz: e42355111fb9b2bf2b56bdf9771108c4edbb62a06789365fcc7c90cceb0b2d55d5586f1a8af1010b29b0f4bd1910e10d828daaf92c2f45b29e7c5f260201adbb
6
+ metadata.gz: 4904a2d41a5126781bad7623034119501990cd7cbbd4c7092235562ea90f0281be2e11e08329cb62043651c278c4482b09d2b3c4fc4ae1558b7a0efcb1bc7360
7
+ data.tar.gz: 3c6bca2de70ddd6c0ce61ca29a8077fcd3c6156cbb767e6a19818665b5fe2d32918ade4711d1ace885b92d8dcccaa4cc1abe73bdef153a2ca3284c2171511764
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- active_campaign_webhooks (0.3.2)
4
+ active_campaign_webhooks (0.3.7)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -20,9 +20,7 @@ module ActiveCampaign
20
20
  # @return [String]
21
21
  attribute :phone
22
22
  # @return [String]
23
- attribute :customer_acct_name
24
- # @return [Integer]
25
- attribute :customer_acct_id, :Integer
23
+ attribute :orgname
26
24
  # @return [Hash]
27
25
  attribute :fields
28
26
  end
@@ -5,16 +5,18 @@ module ActiveCampaign
5
5
  module Request
6
6
  # AC Request Struct Deal
7
7
  class Deal < BaseRecord
8
- STATUS_OPEN = '0'
9
- STATUS_WON = '1'
10
- STATUS_LOST = '2'
8
+ STATUS_OPEN = 0
9
+ STATUS_WON = 1
10
+ STATUS_LOST = 2
11
11
 
12
12
  # @return [String]
13
13
  attribute :currency_symbol
14
14
  # @return [String]
15
15
  attribute :currency
16
16
  # @return [Integer]
17
- attribute :customer_acct_id, :Integer
17
+ attribute :orgid, :Integer
18
+ # @return [String]
19
+ attribute :orgname
18
20
  # @return [Integer]
19
21
  attribute :stageid, :Integer
20
22
  # @return [Integer]
@@ -30,8 +32,6 @@ module ActiveCampaign
30
32
  # @return [DateTime]
31
33
  attribute :create_date, :DateTime
32
34
  # @return [String]
33
- attribute :customer_acct_name
34
- # @return [String]
35
35
  attribute :stage_title
36
36
  # @return [Integer]
37
37
  attribute :pipelineid, :Integer
@@ -48,8 +48,6 @@ module ActiveCampaign
48
48
  # @return [String]
49
49
  attribute :contact_avatar
50
50
  # @return [Float]
51
- attribute :age, :Float
52
- # @return [Float]
53
51
  attribute :value, :Float
54
52
  # @return [String]
55
53
  attribute :owner_firstname
@@ -7,6 +7,8 @@ module ActiveCampaign
7
7
  class DealTaskAddRequest < BaseRequest
8
8
  # @return [Deal]
9
9
  attribute :deal, :Deal
10
+ # @return [Contact]
11
+ attribute :contact, :Contact
10
12
  # @return [Task]
11
13
  attribute :task, :Task
12
14
  end
@@ -7,6 +7,8 @@ module ActiveCampaign
7
7
  class DealUpdateRequest < BaseRequest
8
8
  # @return [Deal]
9
9
  attribute :deal, :Deal
10
+ # @return [Contact]
11
+ attribute :contact, :Contact
10
12
  # @return [Hash]
11
13
  attribute :updated_fields
12
14
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveCampaign
4
4
  module Webhooks
5
- VERSION = '0.3.2'
5
+ VERSION = '0.3.7'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_campaign_webhooks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Boyne
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-10-11 00:00:00.000000000 Z
11
+ date: 2020-10-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: