vivid_seats 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@ module VividSeats
10
10
  include HTTParty
11
11
 
12
12
  base_uri 'https://webservices.vividseats.com/rest/v2'
13
- default_params :accessId => ENV['VIVID_ACCESS_ID']
13
+ default_params :accessId => ENV['VIVID_SEATS_ACCESS_ID']
14
14
  parser lambda { |body, format| JSON.parse(body) }
15
15
 
16
16
  if ENV['VIVID_SEATS_PROXY']
@@ -3,5 +3,9 @@ module VividSeats
3
3
  def all(query={})
4
4
  API.performers(query)
5
5
  end
6
+
7
+ def find(performer_id)
8
+ all(:performerId => performer_id).first
9
+ end
6
10
  end
7
11
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 2
9
- version: 0.0.2
8
+ - 3
9
+ version: 0.0.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Tyler Hunt