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 +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +1 -1
- data/lib/closeio/client.rb +1 -0
- data/lib/closeio/resources/sequence_subscription.rb +27 -0
- data/lib/closeio/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10507bfa70a2597d1ea091c1b5fbe7178b4e7878
|
4
|
+
data.tar.gz: a03aa9f69c2388b5fe1f9b9f3a7568fdb57b99c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb7014fdd5aa6cef76394e1f6b011c65004df4198f843ffb5a378cce28dfe536505fa77b7007ae345f2e6380265a5b8aabb54c7d42c4d475b32678d1471cc9ce
|
7
|
+
data.tar.gz: d3669fa00bcd9088cc3cd4df39deb2d4c527da0ae6054e111b857bfc154dca29d187fd8ade0948e2e56c7a5d549a811c7b1622db04539c2ea940650debbde11f
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
data/lib/closeio/client.rb
CHANGED
@@ -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
|
data/lib/closeio/version.rb
CHANGED
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.
|
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-
|
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
|