tickethub 0.3.82 → 0.3.84

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: 00cc90c0a16900d49f7206a670906aaed729e817
4
- data.tar.gz: 0c5f53a8c6f1c0f568341604b9fd2c84f92ed899
3
+ metadata.gz: 1cb842ac1f38565fa798064547f3dcf49c935b2e
4
+ data.tar.gz: fbfb8c5cfc7fc005e18ff79adf0711e200de0dc6
5
5
  SHA512:
6
- metadata.gz: ec27ff03e498d371e65ddf6c96f58c1b975d3db2c41c94fd8ebc457cf28bbb04247e1caa1567b39c254fd590f321495961ed283851f3497b1289a2a44cc3827e
7
- data.tar.gz: 523b03efcc9704791b661eb3f31aa157159a7569b4d27099faf9fe332de62af36b0c5efa125c52dd52e5729a34780cd60b6c08386c8248a482b0c406afda54ba
6
+ metadata.gz: e7e28ea06030a4b508fa7d5903ccc7d662eeabf7ce1cf0680537749bc86cf9010ca5d5aa2e61a15e7a4f0424d3a7f1e6106665d765976a0b5836b268254b0711
7
+ data.tar.gz: d31e4591ec15fa88286db318aa446fc9d638c1087b7d8523a6e9316d7dd0aa2c8659b0fd01af8f1db913149d1750988867c7ca56fbcf61320920ad4259716b7b
data/lib/.DS_Store ADDED
Binary file
Binary file
@@ -11,6 +11,7 @@ module Tickethub
11
11
  require_relative 'variant'
12
12
  require_relative 'question'
13
13
  require_relative 'tax'
14
+ require_relative 'group'
14
15
 
15
16
  require_relative '../contact'
16
17
  require_relative '../address'
@@ -25,6 +26,7 @@ module Tickethub
25
26
  collection :variants, Channel::Variant
26
27
  collection :questions, Channel::Question
27
28
  collection :taxes, Channel::Tax
29
+ collection :groups, Channel::Group
28
30
 
29
31
  attribute :time_zone, type: :timezone
30
32
  attribute :currency, type: :currency
@@ -17,6 +17,7 @@ module Tickethub
17
17
  require_relative 'ticket'
18
18
  require_relative 'discount'
19
19
  require_relative 'broadcast'
20
+ require_relative 'group'
20
21
 
21
22
  collection_method :broadcast do |params|
22
23
  Supplier::Broadcast.call self.endpoint, begin
@@ -40,6 +41,7 @@ module Tickethub
40
41
  association :coupon, Supplier::Coupon
41
42
  association :product, Supplier::Product
42
43
  association :variant, Supplier::Variant
44
+ association :group, Supplier::Group
43
45
 
44
46
  attribute :amount, type: :money
45
47
  attribute :discount, type: :money
@@ -0,0 +1,11 @@
1
+ require_relative '../resource'
2
+
3
+ module Tickethub
4
+ class Supplier::Group < Resource
5
+ path '/supplier/groups'
6
+
7
+ require_relative 'product'
8
+
9
+ association :product, Supplier::Product
10
+ end
11
+ end
@@ -20,6 +20,7 @@ module Tickethub
20
20
  require_relative 'supplier/refund'
21
21
  require_relative 'supplier/user'
22
22
  require_relative 'supplier/question'
23
+ require_relative 'supplier/group'
23
24
  require_relative 'supplier/answer'
24
25
  require_relative 'supplier/tax'
25
26
  require_relative 'supplier/fee'
@@ -59,6 +60,7 @@ module Tickethub
59
60
  collection :refunds, Refund
60
61
  collection :users, User
61
62
  collection :questions, Question
63
+ collection :groups, Group
62
64
  collection :answers, Answer
63
65
  collection :taxes, Tax
64
66
  collection :fees, Fee
@@ -1,3 +1,3 @@
1
1
  module Tickethub
2
- VERSION = '0.3.82'
2
+ VERSION = '0.3.84'
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.82
4
+ version: 0.3.84
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oliver Morgan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-04 00:00:00.000000000 Z
11
+ date: 2016-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -89,7 +89,9 @@ extra_rdoc_files: []
89
89
  files:
90
90
  - ".gitignore"
91
91
  - Gemfile
92
+ - lib/.DS_Store
92
93
  - lib/tickethub.rb
94
+ - lib/tickethub/.DS_Store
93
95
  - lib/tickethub/address.rb
94
96
  - lib/tickethub/aggregate.rb
95
97
  - lib/tickethub/channel.rb
@@ -142,6 +144,7 @@ files:
142
144
  - lib/tickethub/supplier/dispute.rb
143
145
  - lib/tickethub/supplier/extra.rb
144
146
  - lib/tickethub/supplier/fee.rb
147
+ - lib/tickethub/supplier/group.rb
145
148
  - lib/tickethub/supplier/import.rb
146
149
  - lib/tickethub/supplier/invoice.rb
147
150
  - lib/tickethub/supplier/location.rb