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 +4 -4
- data/lib/tito/base.rb +6 -0
- data/lib/tito/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e502f9cf8b963e8c464a43990d9a82cfa54b07f
|
4
|
+
data.tar.gz: b7183e311bd484deda050f58d133f5703858e488
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6718237edf84c2e72ff98e812a114cf472a7768abbabd99f59a0886ccb0d2d3817d4ee6cc046e78c6576d60fa371d95378b122b5940c518908e3f83babe181b
|
7
|
+
data.tar.gz: 20b7a02faadba111bd0dc73db3267702a0bc4addb5a29a017738cbb965dc9c6311fc31522e2e7f35066ba3eb7d5f209dffdc97fded60d9e352a1e7b8da512660
|
data/lib/tito/base.rb
CHANGED
@@ -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|
|
data/lib/tito/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2017-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|