tickethub 0.2.8 → 0.2.9

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: b98f155c5218338158d7892afc5b020e31ec3b25
4
- data.tar.gz: 5d489d7a7e159c70ad3b5bdbbc7b362b3245a3fb
3
+ metadata.gz: dcfac34126fbaa55f6e0ee0617fe5fc9f17e15e8
4
+ data.tar.gz: a72db358bd334752913ca0a5d0d0aac5e9a889a1
5
5
  SHA512:
6
- metadata.gz: 82e13577c3a41872c505510c850145b9389653141c13c31d68bdf7a0e1f6e2c68c71178ff1ce4459f9222461795be0e48caac60e43bda871ecf7410c7a256480
7
- data.tar.gz: 4e71ffeadf5d57544c5a554e40c540aab71e7098ef77229df48bdd1dff98bf6ed7318bf9d49ce0848f37c0e9507822a5919c8a7c869cc6316141ec9a0d8f394c
6
+ metadata.gz: 0b2f610c115d75121d0e25ae4be00ca7b725970a5b8b54768e66093bce5cc73e5265e7373a133144328bef14f23e1b1a881ae2c27ee4f7bf48586c5e55ca2dcb
7
+ data.tar.gz: 44c1a10f0ff198b33c2c8fb6a79bd7066eb6e687a663ef844f858b6e6091ebc95ebac2349498cee6d56d4f32ac9e7fb89af61b208d0c4f70abd126025dd972ef
@@ -0,0 +1,20 @@
1
+ require_relative '../resource'
2
+
3
+ module Tickethub
4
+ class Supplier::Import < Resource
5
+ path '/supplier/imports'
6
+
7
+ require_relative 'rate'
8
+ require_relative 'tier'
9
+ require_relative 'reseller'
10
+ require_relative 'product'
11
+
12
+ association :rate, Supplier::Tier
13
+ association :tier, Supplier::Tier
14
+ association :reseller, Supplier::Reseller
15
+ association :product, Supplier::Product
16
+
17
+ attribute :updated_at, type: :datetime
18
+ attribute :created_at, type: :datetime
19
+ end
20
+ end
@@ -23,6 +23,7 @@ module Tickethub
23
23
  require_relative 'answer'
24
24
  require_relative 'tax'
25
25
  require_relative 'scan'
26
+ require_relative 'import'
26
27
 
27
28
  collection :bookings, Supplier::Booking
28
29
  collection :vouchers, Supplier::Voucher
@@ -36,6 +37,7 @@ module Tickethub
36
37
  collection :answers, Supplier::Answer
37
38
  collection :taxes, Supplier::Tax
38
39
  collection :scans, Supplier::Scan
40
+ collection :imports, Supplier::Import
39
41
 
40
42
  collection :options, Supplier::Option do
41
43
  def dates(from, to, booking = {})
@@ -1,3 +1,3 @@
1
1
  module Tickethub
2
- VERSION = '0.2.8'
2
+ VERSION = '0.2.9'
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.8
4
+ version: 0.2.9
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-21 00:00:00.000000000 Z
11
+ date: 2015-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -122,6 +122,7 @@ files:
122
122
  - lib/tickethub/supplier/coupon.rb
123
123
  - lib/tickethub/supplier/customer.rb
124
124
  - lib/tickethub/supplier/fee.rb
125
+ - lib/tickethub/supplier/import.rb
125
126
  - lib/tickethub/supplier/invoice.rb
126
127
  - lib/tickethub/supplier/message.rb
127
128
  - lib/tickethub/supplier/message/email.rb