ticketinghub 0.0.3 → 0.0.4
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 +2 -6
- data/lib/ticketing_hub/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: 5914dd82c3b39c3b72e99dd9290e09bdfed09c21
|
4
|
+
data.tar.gz: 73d5293d430ab158cdbf57aa4a3a97635e4eaaa5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b0bc54416af8bb25d6e3cdb76da0e10e35fbecfa0e23344c4693eec1178ae36b515464ce29f78b7c86c9e0db6a998677dede55d3e62be2930e2f6acefc30a3b
|
7
|
+
data.tar.gz: a916980f70e8b40c9a15bbf925ba29f11df06fc213cbf23c2ac03a3f07113aacf67a1a16f74a914996640725b0d29c02f6a1cdb85c0c3a9000c47edadd561eaf
|
data/lib/ticketing_hub/client.rb
CHANGED
@@ -36,8 +36,8 @@ module TicketingHub
|
|
36
36
|
get "orders/#{_normalize_object_id order_id}"
|
37
37
|
end
|
38
38
|
|
39
|
-
def tiers
|
40
|
-
get 'tiers', {
|
39
|
+
def tiers date, starts_at
|
40
|
+
get 'tiers', { date: date, starts_at: starts_at }
|
41
41
|
end
|
42
42
|
|
43
43
|
def options date=nil
|
@@ -45,10 +45,6 @@ module TicketingHub
|
|
45
45
|
get 'options', { date: date }
|
46
46
|
end
|
47
47
|
|
48
|
-
def option option_id
|
49
|
-
get "options/#{_normalize_object_id option_id}"
|
50
|
-
end
|
51
|
-
|
52
48
|
def consumer_fields order_id, ticket_id=nil
|
53
49
|
ticket_id.nil?? get("orders/#{_normalize_object_id order_id}/fields") :
|
54
50
|
get("tickets/#{_normalize_object_id 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: 0.0.
|
4
|
+
version: 0.0.4
|
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-
|
11
|
+
date: 2013-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|