closeio 3.2.0 → 3.3.0

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: 3054bac4abdd81bd3cd5cb436530281636e786a7
4
- data.tar.gz: 3f1b82b28b6fe8a5a1c005690e094a9e77171e27
3
+ metadata.gz: 2ed902a8afb9b95062032fd6dbef85867c7d5632
4
+ data.tar.gz: 4a6dda798210585d0ffb93cafd3a603d71882029
5
5
  SHA512:
6
- metadata.gz: 2ffdb6265bc31a1fce272abfeed0342980e527276a7f3ad967126b65ba2c6ee90dc42bd1abae6020109d90f52c7ed9b403a3af8401a01e9517f1065c5611af28
7
- data.tar.gz: 954c4e2653d6086b5503ee557655998bc520b09bb1b0b3c8afa85f022d24d71a72138d5bfdc5a1463439addb35829e4adbab6b9dc914291e0250ab201f590331
6
+ metadata.gz: f97ced77634929a62a2965285bb5a54b5a0df97172c1ea0f595e6eba45a481aeba1ca60b0f6b61632f184753978ef6f48103204e8f536c00ee9af15bde639d55
7
+ data.tar.gz: 8106fbbe64141b0315f355e8fa73f1815659ac0f2b5be0e674c1cc346bb7ac2707631ef04780df89c858083407a56492202a1bdbb085da3c14ed59e08ee2bd6a
@@ -22,6 +22,7 @@ module Closeio
22
22
  include Closeio::Client::Organization
23
23
  include Closeio::Client::Report
24
24
  include Closeio::Client::Sequence
25
+ include Closeio::Client::SequenceSchedule
25
26
  include Closeio::Client::SmartView
26
27
  include Closeio::Client::Task
27
28
  include Closeio::Client::User
@@ -0,0 +1,19 @@
1
+ module Closeio
2
+ class Client
3
+ module SequenceSchedule
4
+ def list_sequence_schedules
5
+ get(sequence_schedule_path, {})
6
+ end
7
+
8
+ def find_sequence_schedule(id)
9
+ get(sequence_schedule_path(id))
10
+ end
11
+
12
+ private
13
+
14
+ def sequence_schedule_path(id = nil)
15
+ id ? "sequence_schedule/#{id}/" : 'sequence_schedule/'
16
+ end
17
+ end
18
+ end
19
+ end
@@ -1,3 +1,3 @@
1
1
  module Closeio
2
- VERSION = '3.2.0'.freeze
2
+ VERSION = '3.3.0'.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.2.0
4
+ version: 3.3.0
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-16 00:00:00.000000000 Z
11
+ date: 2018-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -157,6 +157,7 @@ files:
157
157
  - lib/closeio/resources/paginated_list.rb
158
158
  - lib/closeio/resources/report.rb
159
159
  - lib/closeio/resources/sequence.rb
160
+ - lib/closeio/resources/sequence_schedule.rb
160
161
  - lib/closeio/resources/smart_view.rb
161
162
  - lib/closeio/resources/task.rb
162
163
  - lib/closeio/resources/user.rb
@@ -181,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
182
  version: '0'
182
183
  requirements: []
183
184
  rubyforge_project:
184
- rubygems_version: 2.4.8
185
+ rubygems_version: 2.6.13
185
186
  signing_key:
186
187
  specification_version: 4
187
188
  summary: A Ruby wrapper for the CloseIO API