tickethub 0.3.66 → 0.3.67
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tickethub/supplier/message.rb +5 -5
- data/lib/tickethub/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: d8d64f4b2e07524add61874e1152faadaec42b66
|
4
|
+
data.tar.gz: 9f7726beb59ce660b00f8d890fd03dd867deecc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9c450d835279f9e79c99e41fc3cdf3e63193d4532b937433b3bcfaa9523d680c5f40128062829e605a5d978bb308d82f78021b909acb8d9fa415500f4092f71
|
7
|
+
data.tar.gz: 4d08e6d2ea3f01b4aac9d866013459e0f54d61dd2e711d6d92024c13658c85933dca8e8cee0a959946ec8b81832ccdf05cb03210e17690d3bc432cd524129228
|
@@ -13,12 +13,12 @@ module Tickethub
|
|
13
13
|
association :contact, Tickethub::Contact
|
14
14
|
association :customer, Supplier::Customer
|
15
15
|
|
16
|
-
association :context, -> (endpoint, attributes) {
|
16
|
+
association :context, -> (endpoint, attributes, options = {}, params = {}) {
|
17
17
|
case attributes['object']
|
18
|
-
when 'booking' then Supplier::Booking.call(endpoint, attributes)
|
19
|
-
when 'customer' then Supplier::Customer.call(endpoint, attributes)
|
20
|
-
when 'order' then Supplier::Order.call(endpoint, attributes)
|
21
|
-
when 'reseller' then Supplier::Reseller.call(endpoint, attributes)
|
18
|
+
when 'booking' then Supplier::Booking.call(endpoint, attributes, options, params)
|
19
|
+
when 'customer' then Supplier::Customer.call(endpoint, attributes, options, params)
|
20
|
+
when 'order' then Supplier::Order.call(endpoint, attributes, options, params)
|
21
|
+
when 'reseller' then Supplier::Reseller.call(endpoint, attributes, options, params)
|
22
22
|
end
|
23
23
|
}
|
24
24
|
|
data/lib/tickethub/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tickethub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.67
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oliver Morgan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|