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 +4 -4
- data/lib/ticketing_hub/client.rb +6 -2
- data/lib/ticketing_hub/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e0edbc914afe5e804e3bb6bdab72bd699dfc280
|
4
|
+
data.tar.gz: 731b1efd4a81e0daba0cf90bae6bf9fcd8f5b40c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc02e89a7a2216d2dca77aa33f45e0cd503e60023f5bb84342e6f34cea7afc0254f803e3c1c9cb0a1da9e854513d35e72953b5ca13e6c454b8ed5b408be20e00
|
7
|
+
data.tar.gz: 5bf3615f081b3a2ddfbb764af6b25022ced1c8223e58992d2d10655468ed1cf8c9cdb0a142dc2838ccbc9c9164f94162b4923efff395d06c53470e29feddd6b9
|
data/lib/ticketing_hub/client.rb
CHANGED
@@ -37,14 +37,18 @@ module TicketingHub
|
|
37
37
|
get "venues/#{venue_id}/orders/#{id}"
|
38
38
|
end
|
39
39
|
|
40
|
-
def
|
41
|
-
get "venues/#{venue_id}/
|
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")
|
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
|
+
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-
|
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.
|
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:
|