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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2a87759bf0a0455933db6e7245adfb6b2ed722e1
4
- data.tar.gz: bb915016d7e7a28fa55f50b4ecddcb1e88a63215
3
+ metadata.gz: ac36c155faf89e4864dfb9c5c2e829ee161e4630
4
+ data.tar.gz: be100745804d6f7be3bea13bdfb5b4f6aed628d2
5
5
  SHA512:
6
- metadata.gz: 55a661a26ba63b3464988c44c0c357097fbdd0f0c6a5807a537a5ebd1be8ad0bcb2e14dd82a96046eea97801db49258a3d9d2eabdf4ee30a209eec77771130b6
7
- data.tar.gz: e10b918fb87ddec7bcb66c10808dda2dcac3d7cd7c046af697ac4252bc63da20abfdb10bed27860b3968146217fb956d48234ab41a6860b2ec38d42b86491c2f
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
@@ -1,3 +1,3 @@
1
1
  module Tickethub
2
- VERSION = '0.2.10'
2
+ VERSION = '0.2.11'
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.2.10
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-26 00:00:00.000000000 Z
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.4.5
179
+ rubygems_version: 2.2.1
179
180
  signing_key:
180
181
  specification_version: 4
181
182
  summary: API client for tickethub.io