tickethub 0.3.35 → 0.3.36

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tickethub/endpoint.rb +5 -1
  3. data/lib/tickethub/reseller.rb +53 -6
  4. data/lib/tickethub/reseller/answer.rb +11 -0
  5. data/lib/tickethub/reseller/booking.rb +37 -0
  6. data/lib/tickethub/reseller/booking/ticket.rb +15 -0
  7. data/lib/tickethub/reseller/booking/voucher.rb +13 -0
  8. data/lib/tickethub/reseller/customer.rb +11 -0
  9. data/lib/tickethub/reseller/extra.rb +12 -0
  10. data/lib/tickethub/reseller/fee.rb +15 -0
  11. data/lib/tickethub/reseller/invoice.rb +7 -0
  12. data/lib/tickethub/reseller/option.rb +15 -0
  13. data/lib/tickethub/reseller/order.rb +39 -0
  14. data/lib/tickethub/reseller/payment.rb +30 -0
  15. data/lib/tickethub/reseller/payment/credit.rb +7 -0
  16. data/lib/tickethub/reseller/payment/stripe.rb +11 -0
  17. data/lib/tickethub/reseller/product.rb +16 -0
  18. data/lib/tickethub/reseller/purchase.rb +19 -0
  19. data/lib/tickethub/reseller/question.rb +11 -0
  20. data/lib/tickethub/reseller/refund.rb +17 -0
  21. data/lib/tickethub/reseller/scan.rb +15 -0
  22. data/lib/tickethub/reseller/source.rb +11 -0
  23. data/lib/tickethub/reseller/source/alipay.rb +7 -0
  24. data/lib/tickethub/reseller/source/bitcoin.rb +7 -0
  25. data/lib/tickethub/reseller/source/card.rb +9 -0
  26. data/lib/tickethub/reseller/tax.rb +16 -0
  27. data/lib/tickethub/reseller/ticket.rb +26 -0
  28. data/lib/tickethub/reseller/tier.rb +20 -0
  29. data/lib/tickethub/reseller/user.rb +9 -0
  30. data/lib/tickethub/reseller/variant.rb +10 -0
  31. data/lib/tickethub/reseller/voucher.rb +19 -0
  32. data/lib/tickethub/supplier/channel.rb +0 -2
  33. data/lib/tickethub/supplier/reseller.rb +2 -2
  34. data/lib/tickethub/version.rb +1 -1
  35. metadata +29 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 618057c6cb628a95ca5a11143e60bc1cf821f649
4
- data.tar.gz: 26e8f1b87764f50cd280f11ef54dc5313832c6db
3
+ metadata.gz: 883c22c49f22c6ff4f799e5927fa0f07335a0945
4
+ data.tar.gz: b3ba61e5abf2e6d2823439825934982a21bf76e8
5
5
  SHA512:
6
- metadata.gz: 64cc7d61f5a665e6a18e4217b7c09792d5f3b5435c9fcdd7bc814b7a3c5ffe3f468b720e39782c441ece9b820581a8090015992bfdf13c4fbe8f07d4c1f3c1f9
7
- data.tar.gz: c2c12a9739d96b222cff1f168911de01c74b11bd745ee8d8766037a1f136df2f0f10aba1570927114ab876b122f1d5f112665dfe8d276a04756a2fed67992c2a
6
+ metadata.gz: 0fde146ccf4674554abe3fe31617a0ed7e20c64b81421f530a75705d132f4812bee32f27bb2fc2baeb68a161289593bacf7a48c2e3c05e45ec7800fd6257b1d9
7
+ data.tar.gz: 39d5e9a31a1d7e94bf7156c986e5d9e409b686748518b365b0e60369917039159e3075cba3055fa5bf372f733bafe50aa50baba0533d9543c236659ff82514ed
@@ -6,7 +6,7 @@ require_relative 'helpers'
6
6
 
7
7
  module Tickethub
8
8
  class Endpoint
9
- attr_reader :options, :url
9
+ attr_reader :options
10
10
 
11
11
  def initialize(url, options)
12
12
  @url = _normalize_path url
@@ -28,6 +28,10 @@ module Tickethub
28
28
  URI.parse @url
29
29
  end
30
30
 
31
+ def url(params = {})
32
+ return params.empty?? @url : "#{@url}?#{Helpers.to_param(params)}"
33
+ end
34
+
31
35
  def request(params, options)
32
36
  raise 'this endpoint is readonly' if frozen?
33
37
  Tickethub::Request.new(url, options.merge(params: params)).execute
@@ -2,19 +2,66 @@ module Tickethub
2
2
  class Reseller < Resource
3
3
  path '/resellers'
4
4
 
5
+ require_relative 'reseller/customer'
6
+ require_relative 'reseller/order'
7
+ require_relative 'reseller/booking'
8
+ require_relative 'reseller/ticket'
9
+ require_relative 'reseller/extra'
10
+ require_relative 'reseller/product'
11
+ require_relative 'reseller/option'
12
+ require_relative 'reseller/variant'
13
+ require_relative 'reseller/tier'
14
+ require_relative 'reseller/voucher'
15
+
16
+ require_relative 'reseller/invoice'
17
+ require_relative 'reseller/payment'
18
+ require_relative 'reseller/user'
19
+ require_relative 'reseller/question'
20
+ require_relative 'reseller/answer'
21
+ require_relative 'reseller/tax'
22
+ require_relative 'reseller/fee'
23
+ require_relative 'reseller/source'
24
+
5
25
  require_relative 'contact'
6
- require_relative 'reseller/channel'
7
- require_relative 'reseller/supplier'
26
+ require_relative 'address'
27
+ require_relative 'token'
28
+ require_relative 'supplier'
29
+
30
+ collection :customers, Customer
31
+ collection :orders, Order
32
+ collection :bookings, Booking
33
+ collection :tickets, Ticket
34
+ collection :extras, Extra
35
+ collection :products, Product
36
+ collection :options, Option
37
+ collection :variants, Variant
38
+ collection :tiers, Tier
39
+ collection :vouchers, Voucher
40
+ collection :invoices, Invoice
41
+ collection :payments, Payment
42
+ collection :users, User
43
+ collection :questions, Question
44
+ collection :answers, Answer
45
+ collection :taxes, Tax
46
+ collection :fees, Fee
47
+ collection :sources, Source
8
48
 
9
49
  association :contact, Tickethub::Contact
10
- association :token, Tickethub::Token
50
+ association :address, Tickethub::Address
11
51
  association :supplier, Tickethub::Supplier
52
+ association :token, Tickethub::Token
12
53
 
13
- association :category, App::Category
14
- collection :subscriptions, App::Subscription
15
-
54
+ attribute :period, type: :duration
55
+ attribute :notice, type: :duration
16
56
  attribute :currency, type: :currency
17
57
 
58
+ attribute :limit, type: :money
59
+ attribute :balance, type: :money
60
+ attribute :overdue, type: :money
61
+
62
+ attribute :next_invoice_date, type: :date
63
+ attribute :first_invoice_date, type: :date
64
+
18
65
  def self.[](attributes)
19
66
  token = attributes[:token].is_a?(String) ? attributes[:token]
20
67
  : attributes[:token][:access_token]
@@ -0,0 +1,11 @@
1
+ require_relative '../resource'
2
+
3
+ module Tickethub
4
+ class Reseller::Answer < Resource
5
+ path '/reseller/answers'
6
+
7
+ require_relative 'question'
8
+
9
+ association :question, Reseller::Question
10
+ end
11
+ end
@@ -0,0 +1,37 @@
1
+ require_relative '../resource'
2
+
3
+ module Tickethub
4
+ class Reseller::Booking < Resource
5
+ path '/reseller/bookings'
6
+
7
+ require_relative 'booking/ticket'
8
+ require_relative 'booking/voucher'
9
+
10
+ require_relative 'order'
11
+ require_relative 'answer'
12
+ require_relative 'product'
13
+ require_relative 'variant'
14
+ require_relative 'purchase'
15
+ require_relative 'fee'
16
+ require_relative 'tier'
17
+
18
+ collection :answers, Reseller::Answer
19
+ collection :purchases, Reseller::Purchase
20
+ collection :fees, Reseller::Fee
21
+ collection :tiers, Reseller::Tier
22
+
23
+ association :order, Reseller::Order
24
+ association :product, Reseller::Product
25
+ association :variant, Reseller::Variant
26
+
27
+ attribute :amount, type: :money
28
+ attribute :tax, type: :money
29
+ attribute :total, type: :money
30
+ attribute :charges, type: :money
31
+
32
+ attribute :currency, type: :currency
33
+ attribute :created_at, type: :datetime
34
+ attribute :updated_at, type: :datetime
35
+ attribute :cancelled_at, type: :datetime
36
+ end
37
+ end
@@ -0,0 +1,15 @@
1
+ require_relative '../booking'
2
+
3
+ module Tickethub
4
+ class Reseller::Booking::Ticket < Reseller::Booking
5
+ polymorphic 'ticket'
6
+
7
+ require_relative '../ticket'
8
+ require_relative '../scan'
9
+
10
+ collection :tickets, Reseller::Ticket
11
+ collection :scans, Reseller::Scan
12
+
13
+ attribute :valid_from, type: :datetime
14
+ end
15
+ end
@@ -0,0 +1,13 @@
1
+ require_relative '../booking'
2
+
3
+ module Tickethub
4
+ class Reseller::Booking::Voucher < Reseller::Booking
5
+ polymorphic 'voucher'
6
+
7
+ require_relative '../voucher'
8
+
9
+ collection :vouchers, Reseller::Voucher
10
+
11
+ attribute :expires_on, type: :date
12
+ end
13
+ end
@@ -0,0 +1,11 @@
1
+ require_relative '../resource'
2
+
3
+ module Tickethub
4
+ class Reseller::Customer < Resource
5
+ path '/reseller/customers'
6
+
7
+ require_relative '../address'
8
+
9
+ association :address, Tickethub::Address
10
+ end
11
+ end
@@ -0,0 +1,12 @@
1
+ require_relative '../resource'
2
+
3
+ module Tickethub
4
+ class Reseller::Extra < Resource
5
+ path '/reseller/extras'
6
+
7
+ attribute :price, type: :money
8
+
9
+ attribute :created_at, type: :datetime
10
+ attribute :updated_at, type: :datetime
11
+ end
12
+ end
@@ -0,0 +1,15 @@
1
+ require_relative '../resource'
2
+
3
+ module Tickethub
4
+ class Reseller::Fee < Resource
5
+ path '/reseller/fees'
6
+
7
+ require_relative 'tax'
8
+ require_relative 'booking'
9
+
10
+ association :tax, Reseller::Tax
11
+ association :booking, Reseller::Booking
12
+
13
+ attribute :amount, type: :money
14
+ end
15
+ end
@@ -0,0 +1,7 @@
1
+ require_relative '../resource'
2
+
3
+ module Tickethub
4
+ class Reseller::Invoice < Resource
5
+ path '/reseller/invoices'
6
+ end
7
+ end
@@ -0,0 +1,15 @@
1
+ require_relative '../resource'
2
+
3
+ module Tickethub
4
+ class Reseller::Option < Resource
5
+ path '/reseller/options'
6
+
7
+ scope :dates, -> (params) { @endpoint[:dates].get(params).decoded }
8
+
9
+ attribute :date_time, type: :datetime
10
+
11
+ attribute :time, type: :time
12
+ attribute :total, type: :money
13
+ attribute :currency, type: :currency
14
+ end
15
+ end
@@ -0,0 +1,39 @@
1
+ require_relative '../resource'
2
+
3
+ module Tickethub
4
+ class Reseller::Order < Resource
5
+ path '/reseller/orders'
6
+
7
+ require_relative 'customer'
8
+ require_relative 'booking'
9
+ require_relative 'payment'
10
+
11
+ require_relative 'customer'
12
+ require_relative 'user'
13
+
14
+ require_relative 'answer'
15
+ require_relative '../address'
16
+
17
+ collection :bookings, Reseller::Booking
18
+ collection :payments, Reseller::Payment
19
+ collection :answers, Reseller::Answer
20
+
21
+ association :customer, Reseller::Customer
22
+ association :user, Reseller::User
23
+ association :address, Tickethub::Address
24
+
25
+ attribute :total, type: :money
26
+ attribute :balance, type: :money
27
+ attribute :commission, type: :money
28
+ attribute :currency, type: :currency
29
+
30
+ attribute :expires_at, type: :datetime
31
+ attribute :confirmed_at, type: :datetime
32
+ attribute :created_at, type: :datetime
33
+ attribute :updated_at, type: :datetime
34
+
35
+ def confirm(params = {})
36
+ self.load @endpoint[:confirm].post(params)
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,30 @@
1
+ require_relative '../resource'
2
+
3
+ module Tickethub
4
+ class Reseller::Payment < Resource
5
+ path '/reseller/payments'
6
+
7
+ require_relative 'refund'
8
+
9
+ require_relative 'payment/credit'
10
+ require_relative 'payment/stripe'
11
+
12
+ require_relative 'order'
13
+ require_relative 'user'
14
+
15
+ association :order, Reseller::Order
16
+ association :user, Reseller::User
17
+
18
+ collection :refunds, Reseller::Refund
19
+
20
+ attribute :amount, type: :money
21
+ attribute :refunded, type: :money
22
+ attribute :balance, type: :money
23
+ attribute :currency, type: :currency
24
+ attribute :refunded_at, type: :datetime
25
+ attribute :confirmed_at, type: :datetime
26
+
27
+ attribute :created_at, type: :datetime
28
+ attribute :updated_at, type: :datetime
29
+ end
30
+ end
@@ -0,0 +1,7 @@
1
+ require_relative '../payment'
2
+
3
+ module Tickethub
4
+ class Reseller::Payment::Credit < Reseller::Payment
5
+ polymorphic 'credit'
6
+ end
7
+ end
@@ -0,0 +1,11 @@
1
+ require_relative '../payment'
2
+
3
+ module Tickethub
4
+ class Reseller::Payment::Stripe < Reseller::Payment
5
+ polymorphic 'stripe'
6
+
7
+ require_relative '../source'
8
+
9
+ association :source, Reseller::Source
10
+ end
11
+ end
@@ -4,12 +4,28 @@ module Tickethub
4
4
  class Reseller::Product < Resource
5
5
  path '/reseller/products'
6
6
 
7
+ require_relative 'booking'
8
+ require_relative 'extra'
9
+ require_relative 'option'
10
+ require_relative 'tier'
11
+ require_relative 'variant'
12
+ require_relative 'question'
13
+ require_relative 'tax'
14
+
7
15
  require_relative '../contact'
8
16
  require_relative '../address'
9
17
 
10
18
  association :contact, Tickethub::Contact
11
19
  association :address, Tickethub::Address
12
20
 
21
+ collection :bookings, Reseller::Booking
22
+ collection :extras, Reseller::Extra
23
+ collection :options, Reseller::Option
24
+ collection :tiers, Reseller::Tier
25
+ collection :variants, Reseller::Variant
26
+ collection :questions, Reseller::Question
27
+ collection :taxes, Reseller::Tax
28
+
13
29
  attribute :time_zone, type: :timezone
14
30
  attribute :currency, type: :currency
15
31
 
@@ -0,0 +1,19 @@
1
+ require_relative '../resource'
2
+
3
+ module Tickethub
4
+ class Reseller::Purchase < Resource
5
+ path '/reseller/purchases'
6
+
7
+ require_relative 'booking'
8
+ require_relative 'extra'
9
+
10
+ association :booking, Reseller::Booking
11
+ association :extra, Reseller::Extra
12
+
13
+ attribute :price, type: :money
14
+ attribute :charges, type: :money
15
+
16
+ attribute :updated_at, type: :datetime
17
+ attribute :created_at, type: :datetime
18
+ end
19
+ end
@@ -0,0 +1,11 @@
1
+ require_relative '../resource'
2
+
3
+ module Tickethub
4
+ class Reseller::Question < Resource
5
+ path '/reseller/questions'
6
+
7
+ require_relative 'answer'
8
+
9
+ collection :answers, Reseller::Answer
10
+ end
11
+ end
@@ -0,0 +1,17 @@
1
+ require_relative '../resource'
2
+
3
+ module Tickethub
4
+ class Reseller::Refund < Resource
5
+ path '/reseller/refunds'
6
+
7
+ require_relative 'payment'
8
+
9
+ association :payment, Reseller::Payment
10
+
11
+ attribute :amount, type: :money
12
+ attribute :currency, type: :currency
13
+
14
+ attribute :created_at, type: :datetime
15
+ attribute :updated_at, type: :datetime
16
+ end
17
+ end
@@ -0,0 +1,15 @@
1
+ require_relative '../resource'
2
+
3
+ module Tickethub
4
+ class Reseller::Scan < Resource
5
+ path '/reseller/scans'
6
+
7
+ require_relative 'ticket'
8
+
9
+ collection :tickets, Reseller::Ticket
10
+
11
+ attribute :at, type: :datetime
12
+ attribute :updated_at, type: :datetime
13
+ attribute :created_at, type: :datetime
14
+ end
15
+ end
@@ -0,0 +1,11 @@
1
+ require_relative '../resource'
2
+
3
+ module Tickethub
4
+ class Reseller::Source < Resource
5
+ path '/reseller/sources'
6
+
7
+ require_relative 'source/alipay'
8
+ require_relative 'source/bitcoin'
9
+ require_relative 'source/card'
10
+ end
11
+ end
@@ -0,0 +1,7 @@
1
+ require_relative '../source'
2
+
3
+ module Tickethub
4
+ class Reseller::Source::Alipay < Reseller::Source
5
+ polymorphic 'alipay'
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ require_relative '../source'
2
+
3
+ module Tickethub
4
+ class Reseller::Source::Bitcoin < Reseller::Source
5
+ polymorphic 'bitcoin'
6
+ end
7
+ end
@@ -0,0 +1,9 @@
1
+ require_relative '../source'
2
+
3
+ module Tickethub
4
+ class Reseller::Source::Card < Reseller::Source
5
+ polymorphic 'card'
6
+
7
+ attribute :country, type: :country
8
+ end
9
+ end
@@ -0,0 +1,16 @@
1
+ require_relative '../resource'
2
+
3
+ module Tickethub
4
+ class Reseller::Tax < Resource
5
+ path '/reseller/taxes'
6
+
7
+ require_relative 'fee'
8
+ require_relative 'product'
9
+
10
+ association :product, Reseller::Product
11
+ collection :fees, Reseller::Fee
12
+
13
+ attribute :updated_at, type: :datetime
14
+ attribute :created_at, type: :datetime
15
+ end
16
+ end
@@ -0,0 +1,26 @@
1
+ require_relative '../resource'
2
+
3
+ module Tickethub
4
+ class Reseller::Ticket < Resource
5
+ path '/reseller/tickets'
6
+
7
+ require_relative 'booking'
8
+ require_relative 'tier'
9
+ require_relative 'voucher'
10
+ require_relative 'scan'
11
+
12
+ association :booking, Reseller::Booking
13
+ association :tier, Reseller::Tier
14
+ association :voucher, Reseller::Voucher
15
+
16
+ collection :scans, Reseller::Scan
17
+
18
+ attribute :price, type: :money
19
+ attribute :interval, type: :duration
20
+
21
+ attribute :last_scan_at, type: :datetime
22
+ attribute :expires_at, type: :datetime
23
+ attribute :updated_at, type: :datetime
24
+ attribute :created_at, type: :datetime
25
+ end
26
+ end
@@ -0,0 +1,20 @@
1
+ require_relative '../resource'
2
+
3
+ module Tickethub
4
+ class Reseller::Tier < Resource
5
+ path '/reseller/tiers'
6
+
7
+ require_relative 'product'
8
+
9
+ association :product, Reseller::Product
10
+
11
+ attribute :price, type: :money
12
+ attribute :currency, type: :currency
13
+
14
+ attribute :notice, type: :duration
15
+ attribute :period, type: :duration
16
+
17
+ attribute :interval, type: :duration
18
+ attribute :duration, type: :duration
19
+ end
20
+ end
@@ -0,0 +1,9 @@
1
+ module Tickethub
2
+ class Reseller::User < Resource
3
+ path '/reseller/users'
4
+
5
+ def full_name
6
+ [first_name, last_name].reject(&:nil?).join ' '
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,10 @@
1
+ require_relative '../resource'
2
+
3
+ module Tickethub
4
+ class Reseller::Variant < Resource
5
+ path '/reseller/variants'
6
+
7
+ require_relative 'product'
8
+ association :product, Reseller::Product
9
+ end
10
+ end
@@ -0,0 +1,19 @@
1
+ require_relative '../resource'
2
+
3
+ module Tickethub
4
+ class Reseller::Voucher < Resource
5
+ path '/reseller/vouchers'
6
+
7
+ require_relative 'tier'
8
+ require_relative 'booking'
9
+
10
+ association :tier, Reseller::Tier
11
+ association :booking, Reseller::Booking
12
+
13
+ attribute :price, type: :money
14
+ attribute :total, type: :money
15
+
16
+ attribute :created_at, type: :datetime
17
+ attribute :updated_at, type: :datetime
18
+ end
19
+ end
@@ -5,14 +5,12 @@ module Tickethub
5
5
  path '/supplier/channels'
6
6
 
7
7
  require_relative 'product'
8
- require_relative 'reseller'
9
8
  require_relative '../token'
10
9
 
11
10
  association :private_token, Tickethub::Token
12
11
  association :public_token, Tickethub::Token
13
12
 
14
13
  association :product, Supplier::Product
15
- association :reseller, Supplier::Reseller
16
14
 
17
15
  attribute :updated_at, type: :datetime
18
16
  attribute :created_at, type: :datetime
@@ -8,8 +8,8 @@ module Tickethub
8
8
  require_relative 'invoice'
9
9
  require_relative 'product'
10
10
  require_relative 'message'
11
- require_relative 'channel'
12
11
  require_relative 'broadcast'
12
+ require_relative 'rate'
13
13
 
14
14
  require_relative '../contact'
15
15
  require_relative '../address'
@@ -21,7 +21,7 @@ module Tickethub
21
21
  collection :invoices, Supplier::Invoice
22
22
  collection :products, Supplier::Product
23
23
  collection :messages, Supplier::Message
24
- collection :channels, Supplier::Channel
24
+ collection :rates, Supplier::Rate
25
25
  collection :users, Supplier::User, shallow: false
26
26
 
27
27
  association :contact, Tickethub::Contact
@@ -1,3 +1,3 @@
1
1
  module Tickethub
2
- VERSION = '0.3.35'
2
+ VERSION = '0.3.36'
3
3
  end
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.35
4
+ version: 0.3.36
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-07-21 00:00:00.000000000 Z
11
+ date: 2015-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -106,9 +106,36 @@ files:
106
106
  - lib/tickethub/helpers.rb
107
107
  - lib/tickethub/request.rb
108
108
  - lib/tickethub/reseller.rb
109
+ - lib/tickethub/reseller/answer.rb
110
+ - lib/tickethub/reseller/booking.rb
111
+ - lib/tickethub/reseller/booking/ticket.rb
112
+ - lib/tickethub/reseller/booking/voucher.rb
109
113
  - lib/tickethub/reseller/channel.rb
114
+ - lib/tickethub/reseller/customer.rb
115
+ - lib/tickethub/reseller/extra.rb
116
+ - lib/tickethub/reseller/fee.rb
117
+ - lib/tickethub/reseller/invoice.rb
118
+ - lib/tickethub/reseller/option.rb
119
+ - lib/tickethub/reseller/order.rb
120
+ - lib/tickethub/reseller/payment.rb
121
+ - lib/tickethub/reseller/payment/credit.rb
122
+ - lib/tickethub/reseller/payment/stripe.rb
110
123
  - lib/tickethub/reseller/product.rb
124
+ - lib/tickethub/reseller/purchase.rb
125
+ - lib/tickethub/reseller/question.rb
126
+ - lib/tickethub/reseller/refund.rb
127
+ - lib/tickethub/reseller/scan.rb
128
+ - lib/tickethub/reseller/source.rb
129
+ - lib/tickethub/reseller/source/alipay.rb
130
+ - lib/tickethub/reseller/source/bitcoin.rb
131
+ - lib/tickethub/reseller/source/card.rb
111
132
  - lib/tickethub/reseller/supplier.rb
133
+ - lib/tickethub/reseller/tax.rb
134
+ - lib/tickethub/reseller/ticket.rb
135
+ - lib/tickethub/reseller/tier.rb
136
+ - lib/tickethub/reseller/user.rb
137
+ - lib/tickethub/reseller/variant.rb
138
+ - lib/tickethub/reseller/voucher.rb
112
139
  - lib/tickethub/resource.rb
113
140
  - lib/tickethub/response.rb
114
141
  - lib/tickethub/response/headers.rb