tickethub 0.3.90 → 0.3.91
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 579fc4aefb09c391e80dd73ba2bcdfc5575d0a22
|
4
|
+
data.tar.gz: f922de57d27946116d0fb9227e76538247bacbc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3195822794a5c9b5377862f713515d67914c2cd057ffec7095ddf3d066a7df89ea7ad79582ee2da4175e0f82d4dae7213d4d412fa8b1edeb126c4e21c96c98d
|
7
|
+
data.tar.gz: dde60ead4baba083e53fd800635ea2b8bf8f8752d1982e2085df044dfdc343179a6d8ce7ee99551b391772694f56c884648bab01a1ea005fc03176b23bf024c4
|
data/lib/tickethub/supplier.rb
CHANGED
@@ -31,7 +31,6 @@ module Tickethub
|
|
31
31
|
require_relative 'supplier/transfer'
|
32
32
|
require_relative 'supplier/channel'
|
33
33
|
require_relative 'supplier/discount'
|
34
|
-
require_relative 'supplier/partner'
|
35
34
|
require_relative 'supplier/scan'
|
36
35
|
require_relative 'supplier/session'
|
37
36
|
require_relative 'supplier/shift'
|
@@ -72,7 +71,6 @@ module Tickethub
|
|
72
71
|
collection :transfers, Transfer
|
73
72
|
collection :channels, Channel
|
74
73
|
collection :discounts, Discount
|
75
|
-
collection :partners, Partner
|
76
74
|
collection :scans, Scan
|
77
75
|
collection :sessions, Session
|
78
76
|
collection :shifts, Shift
|
@@ -4,14 +4,14 @@ module Tickethub
|
|
4
4
|
class Supplier::Channel < Resource
|
5
5
|
path '/supplier/channels'
|
6
6
|
|
7
|
-
require_relative 'partner'
|
8
7
|
require_relative 'reseller'
|
9
8
|
require_relative 'product'
|
9
|
+
|
10
10
|
require_relative '../token'
|
11
11
|
|
12
|
+
collection :resellers, Supplier::Reseller
|
12
13
|
collection :products, Supplier::Product
|
13
|
-
|
14
|
-
association :reseller, Supplier::Reseller
|
14
|
+
collection :tokens, Tickethub::Token
|
15
15
|
|
16
16
|
attribute :updated_at, type: :datetime
|
17
17
|
attribute :created_at, type: :datetime
|
@@ -7,9 +7,6 @@ module Tickethub
|
|
7
7
|
attribute :amount, type: :money
|
8
8
|
attribute :tax, type: :money
|
9
9
|
|
10
|
-
require_relative 'partner'
|
11
|
-
|
12
|
-
association :partner, Supplier::Partner
|
13
10
|
association :context, -> (endpoint, attributes) {
|
14
11
|
case attributes['object']
|
15
12
|
when 'Refund' then Supplier::Refund.call(endpoint, attributes)
|
@@ -16,13 +16,11 @@ module Tickethub
|
|
16
16
|
require_relative 'payment/spreedly'
|
17
17
|
require_relative 'payment/handpoint'
|
18
18
|
|
19
|
-
require_relative 'partner'
|
20
19
|
require_relative 'order'
|
21
20
|
require_relative 'user'
|
22
21
|
|
23
22
|
association :order, Supplier::Order
|
24
23
|
association :user, Supplier::User
|
25
|
-
association :partner, Supplier::Partner
|
26
24
|
|
27
25
|
collection :refunds, Supplier::Refund
|
28
26
|
collection :charges, Supplier::Charge
|
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.91
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oliver Morgan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -153,7 +153,6 @@ files:
|
|
153
153
|
- lib/tickethub/supplier/option.rb
|
154
154
|
- lib/tickethub/supplier/order.rb
|
155
155
|
- lib/tickethub/supplier/override.rb
|
156
|
-
- lib/tickethub/supplier/partner.rb
|
157
156
|
- lib/tickethub/supplier/party.rb
|
158
157
|
- lib/tickethub/supplier/payment.rb
|
159
158
|
- lib/tickethub/supplier/payment/cash.rb
|
@@ -209,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
209
208
|
version: '0'
|
210
209
|
requirements: []
|
211
210
|
rubyforge_project:
|
212
|
-
rubygems_version: 2.
|
211
|
+
rubygems_version: 2.5.1
|
213
212
|
signing_key:
|
214
213
|
specification_version: 4
|
215
214
|
summary: API client for tickethub.io
|