portatext 1.5.13 → 1.5.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b8fd7078ff3af003994c7e1878bdb2fcc6a9c189
4
- data.tar.gz: 8ef174b051711f3f9b21ea06bb5b30d1cfc6aa17
3
+ metadata.gz: aca1315b47cb592ec8accf4e59780e7ef935021a
4
+ data.tar.gz: a24063636853fd095f8514089bffaf4b55998f3b
5
5
  SHA512:
6
- metadata.gz: f3aff94117542719bb5c0e2eeac16fcabba2ebb6d2ca2d4a4e84a4a30059989e7db1a1e5716a62c27891be60c4f4fe30aea607215259326fd850edecc55fa404
7
- data.tar.gz: e8e95dcc81e54fbb1a1ce5dff2f99ca43b6b7d243b07b7e01b3de9f382fc50a8425da722d760b953c09d25f44e12b7826150336f6622eb8a4b986f39308281f0
6
+ metadata.gz: 610140f67f0f37b220e25a1016b583525c6572bc245ab6f1b238d5318c4329b6de0a9a94878d72316423f3e7710f701c37e73977980e1222119a81d241a976aa
7
+ data.tar.gz: 190d01116aa5b2c6efcaeba73a7d327f10c50bac6f70986b83fda1647c3d71ab243f9287159bd7a5cb5eb8d25762c201136abc2d6c66f0fbda35907c1416b784
@@ -45,6 +45,12 @@ module PortaText
45
45
  set :search_params, params
46
46
  end
47
47
 
48
+ def schedule(type, details)
49
+ schedule = {}
50
+ schedule[type] = details
51
+ set :schedule, schedule
52
+ end
53
+
48
54
  def endpoint(_method)
49
55
  unless @args[:search_params].nil?
50
56
  qs = URI.encode_www_form @args[:search_params]
data/portatext.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'portatext'
3
- s.version = '1.5.13'
3
+ s.version = '1.5.14'
4
4
  s.summary = 'Official PortaText API ruby client'
5
5
  s.description = 'This is the official PortaText API ruby client'
6
6
  s.authors = ['PortaText']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: portatext
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.13
4
+ version: 1.5.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - PortaText