tickethub 0.2.10 → 0.2.11
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/booking.rb +2 -0
- data/lib/tickethub/supplier/extra.rb +17 -0
- data/lib/tickethub/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac36c155faf89e4864dfb9c5c2e829ee161e4630
|
4
|
+
data.tar.gz: be100745804d6f7be3bea13bdfb5b4f6aed628d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 212a8a5363b7ef5f6649935c2684da5fa042c7a6457abc6ef2109834fa27c28d547538a650a8d2da89349b7a1581650b0e9b6a527a804760a97888f61bce19a0
|
7
|
+
data.tar.gz: 2c31d211952960c328d6e5d20f20398844a029057ad8595e9a90325a242c1540637808ea93b69daf71dd8cd88aa175577aacc67cc3ea10626b8a69a9ae69e894
|
@@ -13,10 +13,12 @@ module Tickethub
|
|
13
13
|
require_relative 'product'
|
14
14
|
require_relative 'variant'
|
15
15
|
require_relative 'message'
|
16
|
+
require_relative 'extra'
|
16
17
|
require_relative 'fee'
|
17
18
|
|
18
19
|
collection :answers, Supplier::Answer
|
19
20
|
collection :messages, Supplier::Message
|
21
|
+
collection :extras, Supplier::Extra
|
20
22
|
collection :fees, Supplier::Fee
|
21
23
|
|
22
24
|
association :order, Supplier::Order
|
@@ -0,0 +1,17 @@
|
|
1
|
+
require_relative '../resource'
|
2
|
+
|
3
|
+
module Tickethub
|
4
|
+
class Supplier::Extra < Resource
|
5
|
+
path '/supplier/extras'
|
6
|
+
|
7
|
+
require_relative 'booking'
|
8
|
+
|
9
|
+
association :booking, Supplier::Booking
|
10
|
+
|
11
|
+
attribute :price, type: :money
|
12
|
+
attribute :total, type: :money
|
13
|
+
|
14
|
+
attribute :created_at, type: :datetime
|
15
|
+
attribute :updated_at, type: :datetime
|
16
|
+
end
|
17
|
+
end
|
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.2.
|
4
|
+
version: 0.2.11
|
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-01
|
11
|
+
date: 2015-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -121,6 +121,7 @@ files:
|
|
121
121
|
- lib/tickethub/supplier/charge/service.rb
|
122
122
|
- lib/tickethub/supplier/coupon.rb
|
123
123
|
- lib/tickethub/supplier/customer.rb
|
124
|
+
- lib/tickethub/supplier/extra.rb
|
124
125
|
- lib/tickethub/supplier/fee.rb
|
125
126
|
- lib/tickethub/supplier/import.rb
|
126
127
|
- lib/tickethub/supplier/invoice.rb
|
@@ -175,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
175
176
|
version: '0'
|
176
177
|
requirements: []
|
177
178
|
rubyforge_project:
|
178
|
-
rubygems_version: 2.
|
179
|
+
rubygems_version: 2.2.1
|
179
180
|
signing_key:
|
180
181
|
specification_version: 4
|
181
182
|
summary: API client for tickethub.io
|