ticketinghub 1.0.4 → 1.0.5

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: 7f21a9e16f1bd59df8cbee7c6e932fc51158548b
4
- data.tar.gz: 44d6029b5eb3ca276003259a78cb90ff9f1cde07
3
+ metadata.gz: 8e0edbc914afe5e804e3bb6bdab72bd699dfc280
4
+ data.tar.gz: 731b1efd4a81e0daba0cf90bae6bf9fcd8f5b40c
5
5
  SHA512:
6
- metadata.gz: 27abe8ac329b8365d4312088e1751bffbfb1d844310e84dadcee601d38ac9331187187d89ffe1cb529a1b1f1574595b34dfcb6f47fd9e0ca64f5b582c237bbdb
7
- data.tar.gz: c14c25c3022ca477efd30430dd39aac59d380659a051bd7cecb31707fd1742910c09af00934284214b86f0d2f42cf75fd4b08b82e38952826180684587fe52be
6
+ metadata.gz: fc02e89a7a2216d2dca77aa33f45e0cd503e60023f5bb84342e6f34cea7afc0254f803e3c1c9cb0a1da9e854513d35e72953b5ca13e6c454b8ed5b408be20e00
7
+ data.tar.gz: 5bf3615f081b3a2ddfbb764af6b25022ced1c8223e58992d2d10655468ed1cf8c9cdb0a142dc2838ccbc9c9164f94162b4923efff395d06c53470e29feddd6b9
@@ -37,14 +37,18 @@ module TicketingHub
37
37
  get "venues/#{venue_id}/orders/#{id}"
38
38
  end
39
39
 
40
- def tiers(venue_id, date, time, options = {})
41
- get "venues/#{venue_id}/tiers", options.merge({ date: date, time: time })
40
+ def option(venue_id, date, time, options = {})
41
+ get "venues/#{venue_id}/option", options.merge({ date: date, time: time })
42
42
  end
43
43
 
44
44
  def seasons(venue_id)
45
45
  get "venues/#{venue_id}/seasons"
46
46
  end
47
47
 
48
+ def variations(venue_id)
49
+ get "venues/#{venue_id}/variations"
50
+ end
51
+
48
52
  def customer_fields(venue_id, order_id, ticket_id=nil)
49
53
  ticket_id.nil?? get("venues/#{venue_id}/orders/#{order_id}/fields") :
50
54
  get("venues/#{venue_id}/tickets/#{ticket_id}/fields")
@@ -1,3 +1,3 @@
1
1
  module TicketingHub
2
- VERSION = '1.0.4' unless defined?(TicketingHub::VERSION)
2
+ VERSION = '1.0.5' unless defined?(TicketingHub::VERSION)
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ticketinghub
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oliver Morgan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-12 00:00:00.000000000 Z
11
+ date: 2013-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -136,11 +136,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  version: 1.3.6
137
137
  requirements: []
138
138
  rubyforge_project:
139
- rubygems_version: 2.0.3
139
+ rubygems_version: 2.0.5
140
140
  signing_key:
141
141
  specification_version: 4
142
142
  summary: Wrapper for TicketingHub API
143
143
  test_files:
144
144
  - spec/helper.rb
145
145
  - spec/ticketing_hub/venue_spec.rb
146
- has_rdoc: