active_campaign_webhooks 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/lib/active_campaign/webhooks/request/account.rb +2 -2
  4. data/lib/active_campaign/webhooks/request/account_contact.rb +6 -6
  5. data/lib/active_campaign/webhooks/request/account_contact_removed.rb +6 -6
  6. data/lib/active_campaign/webhooks/request/base_request.rb +2 -2
  7. data/lib/active_campaign/webhooks/request/campaign.rb +6 -6
  8. data/lib/active_campaign/webhooks/request/click_request.rb +2 -2
  9. data/lib/active_campaign/webhooks/request/contact.rb +4 -4
  10. data/lib/active_campaign/webhooks/request/contact_tag_added_request.rb +2 -2
  11. data/lib/active_campaign/webhooks/request/deal.rb +14 -14
  12. data/lib/active_campaign/webhooks/request/form.rb +2 -2
  13. data/lib/active_campaign/webhooks/request/forward.rb +2 -2
  14. data/lib/active_campaign/webhooks/request/forward_request.rb +2 -2
  15. data/lib/active_campaign/webhooks/request/link.rb +2 -2
  16. data/lib/active_campaign/webhooks/request/open_request.rb +2 -2
  17. data/lib/active_campaign/webhooks/request/pipeline.rb +2 -2
  18. data/lib/active_campaign/webhooks/request/reply_request.rb +2 -2
  19. data/lib/active_campaign/webhooks/request/sent_request.rb +2 -2
  20. data/lib/active_campaign/webhooks/request/share.rb +2 -2
  21. data/lib/active_campaign/webhooks/request/share_request.rb +2 -2
  22. data/lib/active_campaign/webhooks/request/stage.rb +2 -2
  23. data/lib/active_campaign/webhooks/request/subscribe_request.rb +2 -2
  24. data/lib/active_campaign/webhooks/request/task.rb +4 -4
  25. data/lib/active_campaign/webhooks/request/tasktype.rb +2 -2
  26. data/lib/active_campaign/webhooks/request/unsubscribe_request.rb +2 -2
  27. data/lib/active_campaign/webhooks/version.rb +1 -1
  28. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d3b6c8ab25e084f18d71c756de475396084b18e09f8ea370d18485139d517331
4
- data.tar.gz: b359ef2a3c355ea4f12833ac92f7bde7b84349d2b66653c8e60195d8018b821f
3
+ metadata.gz: 7052bb5ec8ae0782ee8d1272873d7fcfa372194b6df06a02312d9918160a1b31
4
+ data.tar.gz: c0c15d4626edc234157297ec65660c0f0345fc30b1ba0e03694cb1a1ff57fa52
5
5
  SHA512:
6
- metadata.gz: 12b4bbec42323b6f542fefa93ddca97506fc1109dfa4c4922362b2834b4cfc8907867f438711b6485e08b4ec08ddd75ffd0153f3dbeb323253160e13bc549b0f
7
- data.tar.gz: dd9e05e31c2a8824d53f35c3da3accd3aa76778037320c4369866be1b0f2a81b5b023750e133ebcb3082fe45a9fb12423b5c73ad6e6ca3c6b20c9e8b2425f7b2
6
+ metadata.gz: e672a4db27ec89ea6c5384427139a93756f3b910be646cf825da4ef7c9c679280bbdbfcb9a5b8f4c94a645f00fad1ff02fdff838af1c97bcadcbc468debd075c
7
+ data.tar.gz: e42355111fb9b2bf2b56bdf9771108c4edbb62a06789365fcc7c90cceb0b2d55d5586f1a8af1010b29b0f4bd1910e10d828daaf92c2f45b29e7c5f260201adbb
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- active_campaign_webhooks (0.3.1)
4
+ active_campaign_webhooks (0.3.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -5,8 +5,8 @@ module ActiveCampaign
5
5
  module Request
6
6
  # AC Request Struct Account
7
7
  class Account < BaseRecord
8
- # @return [Number]
9
- attribute :id, :Number
8
+ # @return [Integer]
9
+ attribute :id, :Integer
10
10
  # @return [String]
11
11
  attribute :account_name
12
12
  # @return [String]
@@ -5,12 +5,12 @@ module ActiveCampaign
5
5
  module Request
6
6
  # AC Request Struct AccountContact
7
7
  class AccountContact < BaseRecord
8
- # @return [Number]
9
- attribute :id, :Number
10
- # @return [Number]
11
- attribute :account, :Number
12
- # @return [Number]
13
- attribute :contact, :Number
8
+ # @return [Integer]
9
+ attribute :id, :Integer
10
+ # @return [Integer]
11
+ attribute :account, :Integer
12
+ # @return [Integer]
13
+ attribute :contact, :Integer
14
14
  # @return [String]
15
15
  attribute :job_title
16
16
  end
@@ -5,12 +5,12 @@ module ActiveCampaign
5
5
  module Request
6
6
  # AC Request Struct AccountContactRemoved
7
7
  class AccountContactRemoved < BaseRecord
8
- # @return [Number]
9
- attribute :id, :Number
10
- # @return [Number]
11
- attribute :account, :Number
12
- # @return [Number]
13
- attribute :contact, :Number
8
+ # @return [Integer]
9
+ attribute :id, :Integer
10
+ # @return [Integer]
11
+ attribute :account, :Integer
12
+ # @return [Integer]
13
+ attribute :contact, :Integer
14
14
  end
15
15
  end
16
16
  end
@@ -13,8 +13,8 @@ module ActiveCampaign
13
13
  attribute :initiated_from
14
14
  # @return [String]
15
15
  attribute :initiated_by
16
- # @return [Number]
17
- attribute :list, :Number
16
+ # @return [Integer]
17
+ attribute :list, :Integer
18
18
  end
19
19
  end
20
20
  end
@@ -5,12 +5,12 @@ module ActiveCampaign
5
5
  module Request
6
6
  # AC Request Struct Campaign
7
7
  class Campaign < BaseRecord
8
- # @return [Number]
9
- attribute :id, :Number
10
- # @return [Number]
11
- attribute :status, :Number
12
- # @return [Number]
13
- attribute :recipients, :Number
8
+ # @return [Integer]
9
+ attribute :id, :Integer
10
+ # @return [Integer]
11
+ attribute :status, :Integer
12
+ # @return [Integer]
13
+ attribute :recipients, :Integer
14
14
  # @return [String]
15
15
  attribute :webcopy_url
16
16
  end
@@ -7,8 +7,8 @@ module ActiveCampaign
7
7
  class ClickRequest < BaseRecord
8
8
  # @return [String]
9
9
  attribute :url
10
- # @return [Number]
11
- attribute :list, :Number
10
+ # @return [Integer]
11
+ attribute :list, :Integer
12
12
  # @return [Campaign]
13
13
  attribute :campaign, :Campaign
14
14
  # @return [Contact]
@@ -11,8 +11,8 @@ module ActiveCampaign
11
11
  attribute :first_name
12
12
  # @return [String]
13
13
  attribute :last_name
14
- # @return [Number]
15
- attribute :id, :Number
14
+ # @return [Integer]
15
+ attribute :id, :Integer
16
16
  # @return [String]
17
17
  attribute :tags
18
18
  # @return [String]
@@ -21,8 +21,8 @@ module ActiveCampaign
21
21
  attribute :phone
22
22
  # @return [String]
23
23
  attribute :customer_acct_name
24
- # @return [Number]
25
- attribute :customer_acct_id, :Number
24
+ # @return [Integer]
25
+ attribute :customer_acct_id, :Integer
26
26
  # @return [Hash]
27
27
  attribute :fields
28
28
  end
@@ -7,8 +7,8 @@ module ActiveCampaign
7
7
  class ContactTagAddedRequest < BaseRequest
8
8
  # @return [String]
9
9
  attribute :url
10
- # @return [Number]
11
- attribute :list, :Number
10
+ # @return [Integer]
11
+ attribute :list, :Integer
12
12
  # @return [String]
13
13
  attribute :tag
14
14
  # @return [Contact]
@@ -13,16 +13,16 @@ module ActiveCampaign
13
13
  attribute :currency_symbol
14
14
  # @return [String]
15
15
  attribute :currency
16
- # @return [Number]
17
- attribute :customer_acct_id, :Number
18
- # @return [Number]
19
- attribute :stageid, :Number
20
- # @return [Number]
21
- attribute :owner, :Number
16
+ # @return [Integer]
17
+ attribute :customer_acct_id, :Integer
18
+ # @return [Integer]
19
+ attribute :stageid, :Integer
20
+ # @return [Integer]
21
+ attribute :owner, :Integer
22
22
  # @return [String]
23
23
  attribute :contact_lastname
24
- # @return [Number]
25
- attribute :id, :Number
24
+ # @return [Integer]
25
+ attribute :id, :Integer
26
26
  # @return [String]
27
27
  attribute :pipeline_title
28
28
  # @return [String]
@@ -33,14 +33,14 @@ module ActiveCampaign
33
33
  attribute :customer_acct_name
34
34
  # @return [String]
35
35
  attribute :stage_title
36
- # @return [Number]
37
- attribute :pipelineid, :Number
36
+ # @return [Integer]
37
+ attribute :pipelineid, :Integer
38
38
  # @return [String]
39
39
  attribute :note
40
- # @return [Number]
41
- attribute :contactid, :Number
42
- # @return [Number]
43
- attribute :status, :Number
40
+ # @return [Integer]
41
+ attribute :contactid, :Integer
42
+ # @return [Integer]
43
+ attribute :status, :Integer
44
44
  # @return [String]
45
45
  attribute :contact_firstname
46
46
  # @return [String]
@@ -5,8 +5,8 @@ module ActiveCampaign
5
5
  module Request
6
6
  # AC Request Struct Form
7
7
  class Form < BaseRecord
8
- # @return [Number]
9
- attribute :id, :Number
8
+ # @return [Integer]
9
+ attribute :id, :Integer
10
10
  end
11
11
  end
12
12
  end
@@ -5,8 +5,8 @@ module ActiveCampaign
5
5
  module Request
6
6
  # AC Request Struct Forward
7
7
  class Forward < BaseRecord
8
- # @return [Number]
9
- attribute :count, :Number
8
+ # @return [Integer]
9
+ attribute :count, :Integer
10
10
  end
11
11
  end
12
12
  end
@@ -7,8 +7,8 @@ module ActiveCampaign
7
7
  class ForwardRequest < BaseRequest
8
8
  # @return [String]
9
9
  attribute :url
10
- # @return [Number]
11
- attribute :list, :Number
10
+ # @return [Integer]
11
+ attribute :list, :Integer
12
12
  # @return [Campaign]
13
13
  attribute :campaign, :Campaign
14
14
  # @return [Contact]
@@ -5,8 +5,8 @@ module ActiveCampaign
5
5
  module Request
6
6
  # AC Request Struct Link
7
7
  class Link < BaseRecord
8
- # @return [Number]
9
- attribute :id, :Number
8
+ # @return [Integer]
9
+ attribute :id, :Integer
10
10
  # @return [String]
11
11
  attribute :url
12
12
  end
@@ -7,8 +7,8 @@ module ActiveCampaign
7
7
  class OpenRequest < BaseRequest
8
8
  # @return [String]
9
9
  attribute :url
10
- # @return [Number]
11
- attribute :list, :Number
10
+ # @return [Integer]
11
+ attribute :list, :Integer
12
12
  # @return [Campaign]
13
13
  attribute :campaign, :Campaign
14
14
  # @return [Contact]
@@ -5,8 +5,8 @@ module ActiveCampaign
5
5
  module Request
6
6
  # AC Request Struct Pipeline
7
7
  class Pipeline < BaseRecord
8
- # @return [Number]
9
- attribute :id, :Number
8
+ # @return [Integer]
9
+ attribute :id, :Integer
10
10
  # @return [String]
11
11
  attribute :title
12
12
  end
@@ -7,8 +7,8 @@ module ActiveCampaign
7
7
  class ReplyRequest < BaseRequest
8
8
  # @return [String]
9
9
  attribute :url
10
- # @return [Number]
11
- attribute :list, :Number
10
+ # @return [Integer]
11
+ attribute :list, :Integer
12
12
  # @return [Campaign]
13
13
  attribute :campaign, :Campaign
14
14
  # @return [Contact]
@@ -7,8 +7,8 @@ module ActiveCampaign
7
7
  class SentRequest < BaseRequest
8
8
  # @return [String]
9
9
  attribute :url
10
- # @return [Number]
11
- attribute :list, :Number
10
+ # @return [Integer]
11
+ attribute :list, :Integer
12
12
  # @return [Campaign]
13
13
  attribute :campaign, :Campaign
14
14
  end
@@ -7,8 +7,8 @@ module ActiveCampaign
7
7
  class Share < BaseRecord
8
8
  # @return [String]
9
9
  attribute :network
10
- # @return [Number]
11
- attribute :network_id, :Number
10
+ # @return [Integer]
11
+ attribute :network_id, :Integer
12
12
  # @return [String]
13
13
  attribute :content
14
14
  end
@@ -7,8 +7,8 @@ module ActiveCampaign
7
7
  class ShareRequest < BaseRequest
8
8
  # @return [String]
9
9
  attribute :url
10
- # @return [Number]
11
- attribute :list, :Number
10
+ # @return [Integer]
11
+ attribute :list, :Integer
12
12
  # @return [Campaign]
13
13
  attribute :campaign, :Campaign
14
14
  # @return [Contact]
@@ -5,8 +5,8 @@ module ActiveCampaign
5
5
  module Request
6
6
  # AC Request Struct Share
7
7
  class Stage < BaseRecord
8
- # @return [Number]
9
- attribute :id, :Number
8
+ # @return [Integer]
9
+ attribute :id, :Integer
10
10
  # @return [String]
11
11
  attribute :title
12
12
  # @return [String]
@@ -7,8 +7,8 @@ module ActiveCampaign
7
7
  class SubscribeRequest < BaseRequest
8
8
  # @return [String]
9
9
  attribute :url
10
- # @return [Number]
11
- attribute :list, :Number
10
+ # @return [Integer]
11
+ attribute :list, :Integer
12
12
  # @return [Form]
13
13
  attribute :form, :Form
14
14
  # @return [Contact]
@@ -7,8 +7,8 @@ module ActiveCampaign
7
7
  class Task < BaseRecord
8
8
  # @return [String]
9
9
  attribute :note
10
- # @return [Number]
11
- attribute :id, :Number
10
+ # @return [Integer]
11
+ attribute :id, :Integer
12
12
  # @return [DateTime]
13
13
  attribute :duedate, :DateTime
14
14
  # @return [DateTime]
@@ -17,8 +17,8 @@ module ActiveCampaign
17
17
  attribute :type_title
18
18
  # @return [String]
19
19
  attribute :title
20
- # @return [Number]
21
- attribute :type_id, :Number
20
+ # @return [Integer]
21
+ attribute :type_id, :Integer
22
22
  end
23
23
  end
24
24
  end
@@ -5,8 +5,8 @@ module ActiveCampaign
5
5
  module Request
6
6
  # AC Request Struct Tasktype
7
7
  class Tasktype < BaseRecord
8
- # @return [Number]
9
- attribute :id, :Number
8
+ # @return [Integer]
9
+ attribute :id, :Integer
10
10
  # @return [String]
11
11
  attribute :title
12
12
  end
@@ -7,8 +7,8 @@ module ActiveCampaign
7
7
  class UnsubscribeRequest < BaseRequest
8
8
  # @return [String]
9
9
  attribute :url
10
- # @return [Number]
11
- attribute :list, :Number
10
+ # @return [Integer]
11
+ attribute :list, :Integer
12
12
  # @return [Campaign]
13
13
  attribute :form, :Campaign
14
14
  # @return [Campaign]
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveCampaign
4
4
  module Webhooks
5
- VERSION = '0.3.1'
5
+ VERSION = '0.3.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_campaign_webhooks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Boyne