eventbrite-client 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/eventbrite-client.gemspec +1 -1
- data/lib/eventbrite-client.rb +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.4
|
data/eventbrite-client.gemspec
CHANGED
data/lib/eventbrite-client.rb
CHANGED
@@ -5,7 +5,7 @@ class EventbriteClient
|
|
5
5
|
|
6
6
|
def initialize( auth_tokens )
|
7
7
|
@auth = {}
|
8
|
-
@data_type = 'json'
|
8
|
+
@data_type = (auth_tokens.is_a?(Hash) and auth_tokens.include? :data_type) ? auth_tokens[:data_type] : 'json'
|
9
9
|
if auth_tokens.is_a? Hash
|
10
10
|
if auth_tokens.include? :access_token
|
11
11
|
# use oauth2 authentication tokens
|