tito 0.3.2 → 0.3.3

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: 6de18101d866ed779e712565fe3945f552c23323
4
- data.tar.gz: 8000c7dc03eb79d5d7f782d7c9d36bb14fc84b3f
3
+ metadata.gz: 5e502f9cf8b963e8c464a43990d9a82cfa54b07f
4
+ data.tar.gz: b7183e311bd484deda050f58d133f5703858e488
5
5
  SHA512:
6
- metadata.gz: a767439654678912608f2a8e60cf7f24fbcbac3d33be8009df65bfbd613efda98e94030ea34f6759f83156bd4d2eeb84ac7441fe36837080806232dd80f86fda
7
- data.tar.gz: 8abe554268a25d2c017c1d935f0cf295f0cd4574241dd5fd644425c73911d48d5659f0aee38040d7a476e5336c26eb985afd22c2c4a91b12435e0eafdeea5512
6
+ metadata.gz: a6718237edf84c2e72ff98e812a114cf472a7768abbabd99f59a0886ccb0d2d3817d4ee6cc046e78c6576d60fa371d95378b122b5940c518908e3f83babe181b
7
+ data.tar.gz: 20b7a02faadba111bd0dc73db3267702a0bc4addb5a29a017738cbb965dc9c6311fc31522e2e7f35066ba3eb7d5f209dffdc97fded60d9e352a1e7b8da512660
@@ -93,6 +93,12 @@ module Tito
93
93
  out
94
94
  end
95
95
 
96
+ def self.event_ids(params = {})
97
+ api_key = params.delete(:api_key)
98
+ url = [site, "my/events/ids"].join("/")
99
+ http(api_key: api_key).get(url).parse
100
+ end
101
+
96
102
  def initialize(attrs = {})
97
103
  self.path_prefix = (attrs ||= {}).delete(:path_prefix)
98
104
  attrs.each do |key, val|
@@ -1,3 +1,3 @@
1
1
  module Tito
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tito
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Campbell
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-07-22 00:00:00.000000000 Z
11
+ date: 2017-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http