closeio 3.4.0 → 3.4.1

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: 4eac0813d8d95df8447595cf2fa7419997dd6011
4
- data.tar.gz: 5d8a02d6d60b615bba879c945c5e04fc24face1d
3
+ metadata.gz: 10507bfa70a2597d1ea091c1b5fbe7178b4e7878
4
+ data.tar.gz: a03aa9f69c2388b5fe1f9b9f3a7568fdb57b99c9
5
5
  SHA512:
6
- metadata.gz: 0ab93206853f58036103a62c8224c18f391c7e072b72c21f1bd5f27dc712f2449f1f52c13a7a98bf9e5462dc732d7182ac4ef79114b4c21b79e1b4b4d803fb16
7
- data.tar.gz: a80aa188cf1a12d2e2f3977381292d48cd551f00dcd2aa8c4dac0c269ad3f1febdfd47f2321d436e7d4be53f342d61c92df85f5bea01883bc8265b5725edc3e9
6
+ metadata.gz: fb7014fdd5aa6cef76394e1f6b011c65004df4198f843ffb5a378cce28dfe536505fa77b7007ae345f2e6380265a5b8aabb54c7d42c4d475b32678d1471cc9ce
7
+ data.tar.gz: d3669fa00bcd9088cc3cd4df39deb2d4c527da0ae6054e111b857bfc154dca29d187fd8ade0948e2e56c7a5d549a811c7b1622db04539c2ea940650debbde11f
@@ -1,4 +1,9 @@
1
+ ## 3.4.1
2
+
3
+ - Add support for email sequence subscriptions
4
+
1
5
  ## 2.5.0
6
+
2
7
  - Add middleware for handling errors when Close.io responds with status codes between 400-599
3
8
 
4
9
  ## 2.4.0
data/README.md CHANGED
@@ -10,7 +10,7 @@ Fwiw, I also run [DripEmails.com](https://www.DripEmails.com) -- a service for b
10
10
  Add this line to your application's Gemfile:
11
11
  ````ruby
12
12
  # in your Gemfile
13
- gem 'closeio', '~> 3.2'
13
+ gem 'closeio', '~> 3.4'
14
14
 
15
15
  # then...
16
16
  bundle install
@@ -23,6 +23,7 @@ module Closeio
23
23
  include Closeio::Client::Report
24
24
  include Closeio::Client::Sequence
25
25
  include Closeio::Client::SequenceSchedule
26
+ include Closeio::Client::SequenceSubscription
26
27
  include Closeio::Client::SmartView
27
28
  include Closeio::Client::Task
28
29
  include Closeio::Client::User
@@ -0,0 +1,27 @@
1
+ module Closeio
2
+ class Client
3
+ module SequenceSubscription
4
+ def list_sequence_subscriptions(options = {})
5
+ get(sequence_subscription_path, options)
6
+ end
7
+
8
+ def find_sequence_subscription(id)
9
+ get(sequence_subscription_path(id))
10
+ end
11
+
12
+ def create_sequence_subscription(options = {})
13
+ post(sequence_subscription_path, options)
14
+ end
15
+
16
+ def update_sequence_subscription(id, options = {})
17
+ put(sequence_subscription_path(id), options)
18
+ end
19
+
20
+ private
21
+
22
+ def sequence_subscription_path(id = nil)
23
+ id ? "sequence_subscription/#{id}/" : 'sequence_subscription/'
24
+ end
25
+ end
26
+ end
27
+ end
@@ -1,3 +1,3 @@
1
1
  module Closeio
2
- VERSION = '3.4.0'.freeze
2
+ VERSION = '3.4.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: closeio
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.0
4
+ version: 3.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Brooks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-30 00:00:00.000000000 Z
11
+ date: 2018-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -158,6 +158,7 @@ files:
158
158
  - lib/closeio/resources/report.rb
159
159
  - lib/closeio/resources/sequence.rb
160
160
  - lib/closeio/resources/sequence_schedule.rb
161
+ - lib/closeio/resources/sequence_subscription.rb
161
162
  - lib/closeio/resources/smart_view.rb
162
163
  - lib/closeio/resources/task.rb
163
164
  - lib/closeio/resources/user.rb