tickethub 0.2.18 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/tickethub/supplier/charge.rb +0 -1
- data/lib/tickethub/supplier/customer.rb +2 -2
- data/lib/tickethub/supplier/payment.rb +1 -1
- data/lib/tickethub/supplier/payment/{card.rb → stripe.rb} +4 -4
- data/lib/tickethub/supplier/reseller.rb +0 -2
- data/lib/tickethub/supplier/source.rb +7 -0
- data/lib/tickethub/supplier/source/alipay.rb +7 -0
- data/lib/tickethub/supplier/source/bitcoin.rb +7 -0
- data/lib/tickethub/supplier/source/card.rb +7 -0
- data/lib/tickethub/version.rb +1 -1
- metadata +8 -5
- data/lib/tickethub/supplier/card.rb +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a98808d4bd0da93284b9ae2169dfa7562f571222
|
4
|
+
data.tar.gz: 9a189fbea8a94f9f70fc7a8181d64413ba1fd965
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d87e18e542f6d9e9a140e2f8c1e3ec53ea0b24e2c3a0c9405ae1b0271129128babf5eb26bdf2c68cf2f009601af4678c48073495687c2e84e5d98d524673033
|
7
|
+
data.tar.gz: 0fbeaca26afbe8e3295c15f2380cf11bf6806745e8a032b87a08a5526ce84e4aa3f47407e64266d81062fdf0863a42abfa52624d2aa992636f542b0877b4fb76
|
@@ -7,13 +7,13 @@ module Tickethub
|
|
7
7
|
require_relative 'booking'
|
8
8
|
require_relative 'ticket'
|
9
9
|
require_relative 'message'
|
10
|
-
require_relative '
|
10
|
+
require_relative 'source'
|
11
11
|
|
12
12
|
require_relative '../address'
|
13
13
|
|
14
|
-
collection :cards, Supplier::Card
|
15
14
|
collection :orders, Supplier::Booking
|
16
15
|
collection :tickets, Supplier::Ticket
|
16
|
+
collection :sources, Supplier::Source
|
17
17
|
collection :messages, Supplier::Message
|
18
18
|
|
19
19
|
association :address, Tickethub::Address
|
@@ -6,10 +6,10 @@ module Tickethub
|
|
6
6
|
|
7
7
|
require_relative 'charge'
|
8
8
|
|
9
|
-
require_relative 'payment/card'
|
10
9
|
require_relative 'payment/cash'
|
11
10
|
require_relative 'payment/credit'
|
12
11
|
require_relative 'payment/direct'
|
12
|
+
require_relative 'payment/stripe'
|
13
13
|
require_relative 'payment/complimentary'
|
14
14
|
|
15
15
|
require_relative 'order'
|
@@ -1,17 +1,17 @@
|
|
1
1
|
require_relative '../payment'
|
2
2
|
|
3
3
|
module Tickethub
|
4
|
-
class Supplier::Payment::
|
5
|
-
polymorphic '
|
4
|
+
class Supplier::Payment::Stripe < Supplier::Payment
|
5
|
+
polymorphic 'stripe'
|
6
6
|
|
7
|
-
require_relative '../
|
7
|
+
require_relative '../source'
|
8
8
|
require_relative '../dispute'
|
9
9
|
require_relative '../../address'
|
10
10
|
require_relative '../charge/gateway'
|
11
11
|
require_relative '../charge/service'
|
12
12
|
|
13
13
|
association :dispute, Supplier::Dispute
|
14
|
-
association :
|
14
|
+
association :source, Supplier::Source
|
15
15
|
association :address, Tickethub::Address
|
16
16
|
|
17
17
|
association :gateway_charge, Supplier::Charge::Gateway
|
@@ -8,7 +8,6 @@ module Tickethub
|
|
8
8
|
require_relative 'product'
|
9
9
|
require_relative 'message'
|
10
10
|
require_relative 'rate'
|
11
|
-
require_relative 'card'
|
12
11
|
|
13
12
|
require_relative '../token'
|
14
13
|
require_relative '../contact'
|
@@ -17,7 +16,6 @@ module Tickethub
|
|
17
16
|
collection :invoices, Supplier::Invoice
|
18
17
|
collection :products, Supplier::Product
|
19
18
|
collection :messages, Supplier::Message
|
20
|
-
collection :cards, Supplier::Card
|
21
19
|
collection :rates, Supplier::Rate
|
22
20
|
|
23
21
|
association :token, Tickethub::Token
|
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.
|
4
|
+
version: 0.3.0
|
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-03-
|
11
|
+
date: 2015-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -115,7 +115,6 @@ files:
|
|
115
115
|
- lib/tickethub/supplier/booking.rb
|
116
116
|
- lib/tickethub/supplier/booking/ticket.rb
|
117
117
|
- lib/tickethub/supplier/booking/voucher.rb
|
118
|
-
- lib/tickethub/supplier/card.rb
|
119
118
|
- lib/tickethub/supplier/charge.rb
|
120
119
|
- lib/tickethub/supplier/charge/gateway.rb
|
121
120
|
- lib/tickethub/supplier/charge/service.rb
|
@@ -132,11 +131,11 @@ files:
|
|
132
131
|
- lib/tickethub/supplier/option.rb
|
133
132
|
- lib/tickethub/supplier/order.rb
|
134
133
|
- lib/tickethub/supplier/payment.rb
|
135
|
-
- lib/tickethub/supplier/payment/card.rb
|
136
134
|
- lib/tickethub/supplier/payment/cash.rb
|
137
135
|
- lib/tickethub/supplier/payment/complimentary.rb
|
138
136
|
- lib/tickethub/supplier/payment/credit.rb
|
139
137
|
- lib/tickethub/supplier/payment/direct.rb
|
138
|
+
- lib/tickethub/supplier/payment/stripe.rb
|
140
139
|
- lib/tickethub/supplier/product.rb
|
141
140
|
- lib/tickethub/supplier/question.rb
|
142
141
|
- lib/tickethub/supplier/rate.rb
|
@@ -144,6 +143,10 @@ files:
|
|
144
143
|
- lib/tickethub/supplier/reseller.rb
|
145
144
|
- lib/tickethub/supplier/scan.rb
|
146
145
|
- lib/tickethub/supplier/season.rb
|
146
|
+
- lib/tickethub/supplier/source.rb
|
147
|
+
- lib/tickethub/supplier/source/alipay.rb
|
148
|
+
- lib/tickethub/supplier/source/bitcoin.rb
|
149
|
+
- lib/tickethub/supplier/source/card.rb
|
147
150
|
- lib/tickethub/supplier/subscription.rb
|
148
151
|
- lib/tickethub/supplier/tax.rb
|
149
152
|
- lib/tickethub/supplier/ticket.rb
|
@@ -177,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
177
180
|
version: '0'
|
178
181
|
requirements: []
|
179
182
|
rubyforge_project:
|
180
|
-
rubygems_version: 2.
|
183
|
+
rubygems_version: 2.2.1
|
181
184
|
signing_key:
|
182
185
|
specification_version: 4
|
183
186
|
summary: API client for tickethub.io
|