tickethub 0.0.7 → 0.0.8

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: 3c7363b11952e3797608201e34b0cc3db0579d65
4
- data.tar.gz: 03e809611f47c92712a74694683274b099b6daef
3
+ metadata.gz: adba97a56773c8cb7a4866479bc2076293c638fe
4
+ data.tar.gz: ecedcdcc4ba35680d756b65f89cfc58e929df63b
5
5
  SHA512:
6
- metadata.gz: c69c1ae7eaa9cb783e55ebce5f8ba43ec1db5753f66848cd6aa2b8d8ba99572d2a80e3aa5a50276cccf1d5a5cdb3142e924ab4be6dfe8e9d484fae6dc8253ef2
7
- data.tar.gz: 6a4f256aae9acf449e281928ba8980022583e836f4e1062c0576137f25f2a9fea70071fce076ed1040cc91c261f685ab56470f41c3dd1fe82ae25cea61379bf4
6
+ metadata.gz: f0dad92d61a9e52dbea1b8ad2cbbae17995108bb03a44a2301a4ffd9b5176975ac013f028079dc112eba7a1131120a100745c9c9898fe347ad0706c758bedf7e
7
+ data.tar.gz: fda4332115a573a66aa7124237780de2c7a6310dfbe3afce81cf5da93c7d8b83682b1ab3613f4b32c587c221be34b5317e8282e1b7c077dffe22d662600c7623
data/lib/tickethub.rb CHANGED
@@ -26,5 +26,4 @@ module Tickethub
26
26
  require_relative 'tickethub/supplier'
27
27
  require_relative 'tickethub/app'
28
28
  require_relative 'tickethub/user'
29
- require_relative 'tickethub/category'
30
29
  end
data/lib/tickethub/app.rb CHANGED
@@ -3,15 +3,13 @@ module Tickethub
3
3
  path '/apps'
4
4
 
5
5
  require_relative 'contact'
6
- require_relative 'category'
7
- require_relative 'app/package'
6
+ require_relative 'app/category'
8
7
  require_relative 'app/subscription'
9
8
 
10
9
  association :contact, Tickethub::Contact
11
10
  association :token, Tickethub::Token
12
- association :category, Tickethub::Category
13
11
 
14
- collection :packages, App::Package
12
+ association :category, App::Category
15
13
  collection :subscriptions, App::Subscription
16
14
 
17
15
  attribute :currency, type: :currency
@@ -0,0 +1,7 @@
1
+ module Tickethub
2
+ class App::Category < Resource
3
+ path '/apps/categories'
4
+
5
+ collection :apps, Tickethub::App
6
+ end
7
+ end
@@ -4,8 +4,8 @@ module Tickethub
4
4
  class App::Subscription < Resource
5
5
  path '/app/subscriptions'
6
6
 
7
- require_relative 'package'
7
+ require_relative '../app'
8
8
 
9
- association :package, App::Package
9
+ association :app, Tickethub::App
10
10
  end
11
11
  end
@@ -4,7 +4,6 @@ module Tickethub
4
4
 
5
5
  require_relative 'supplier/bill'
6
6
  require_relative 'supplier/customer'
7
- require_relative 'supplier/template'
8
7
  require_relative 'supplier/order'
9
8
  require_relative 'supplier/booking'
10
9
  require_relative 'supplier/reseller'
@@ -31,7 +30,6 @@ module Tickethub
31
30
 
32
31
  collection :bills, Bill
33
32
  collection :customers, Customer
34
- collection :templates, Template
35
33
  collection :orders, Order
36
34
  collection :bookings, Booking
37
35
  collection :resellers, Reseller
@@ -1,9 +1,5 @@
1
1
  module Tickethub
2
2
  class Supplier::App < Resource
3
3
  path '/apps'
4
-
5
- require_relative 'package'
6
-
7
- collection :packages, Supplier::Package
8
4
  end
9
5
  end
@@ -4,12 +4,10 @@ module Tickethub
4
4
  class Supplier::Subscription < Resource
5
5
  path '/supplier/subscriptions'
6
6
 
7
- require_relative 'package'
8
- require_relative 'user'
7
+ require_relative 'app'
9
8
  require_relative '../token'
10
9
 
11
- association :package, Supplier::Package
12
- association :user, Supplier::User
10
+ association :app, Supplier::App
13
11
  association :token, Token
14
12
  end
15
13
  end
@@ -1,3 +1,3 @@
1
1
  module Tickethub
2
- VERSION = '0.0.7'
2
+ VERSION = '0.0.8'
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.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oliver Morgan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-30 00:00:00.000000000 Z
11
+ date: 2014-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -116,9 +116,8 @@ files:
116
116
  - lib/tickethub.rb
117
117
  - lib/tickethub/address.rb
118
118
  - lib/tickethub/app.rb
119
- - lib/tickethub/app/package.rb
119
+ - lib/tickethub/app/category.rb
120
120
  - lib/tickethub/app/subscription.rb
121
- - lib/tickethub/category.rb
122
121
  - lib/tickethub/collection.rb
123
122
  - lib/tickethub/connection.rb
124
123
  - lib/tickethub/contact.rb
@@ -143,7 +142,6 @@ files:
143
142
  - lib/tickethub/supplier/card.rb
144
143
  - lib/tickethub/supplier/coupon.rb
145
144
  - lib/tickethub/supplier/customer.rb
146
- - lib/tickethub/supplier/element.rb
147
145
  - lib/tickethub/supplier/fee.rb
148
146
  - lib/tickethub/supplier/invoice.rb
149
147
  - lib/tickethub/supplier/message.rb
@@ -151,7 +149,6 @@ files:
151
149
  - lib/tickethub/supplier/message/sms.rb
152
150
  - lib/tickethub/supplier/option.rb
153
151
  - lib/tickethub/supplier/order.rb
154
- - lib/tickethub/supplier/package.rb
155
152
  - lib/tickethub/supplier/payment.rb
156
153
  - lib/tickethub/supplier/payment/card.rb
157
154
  - lib/tickethub/supplier/payment/cash.rb
@@ -167,7 +164,6 @@ files:
167
164
  - lib/tickethub/supplier/season.rb
168
165
  - lib/tickethub/supplier/subscription.rb
169
166
  - lib/tickethub/supplier/tax.rb
170
- - lib/tickethub/supplier/template.rb
171
167
  - lib/tickethub/supplier/ticket.rb
172
168
  - lib/tickethub/supplier/tier.rb
173
169
  - lib/tickethub/supplier/user.rb
@@ -1,8 +0,0 @@
1
- module Tickethub
2
- class App::Package < Resource
3
- path '/app/packages'
4
-
5
- attribute :price, type: :money
6
- attribute :currency, type: :currency
7
- end
8
- end
@@ -1,7 +0,0 @@
1
- module Tickethub
2
- class Category < Resource
3
- path '/categories'
4
-
5
- collection :apps, Tickethub::App
6
- end
7
- end
@@ -1,11 +0,0 @@
1
- require_relative '../resource'
2
-
3
- module Tickethub
4
- class Supplier::Element < Resource
5
- path '/supplier/elements'
6
-
7
- require_relative 'template'
8
-
9
- association :template, Supplier::Template
10
- end
11
- end
@@ -1,9 +0,0 @@
1
- module Tickethub
2
- class Supplier::Package < Resource
3
- path '/packages'
4
-
5
- require_relative 'app'
6
-
7
- association :app, Supplier::App
8
- end
9
- end
@@ -1,11 +0,0 @@
1
- require_relative '../resource'
2
-
3
- module Tickethub
4
- class Supplier::Template < Resource
5
- path '/supplier/templates'
6
-
7
- require_relative 'element'
8
-
9
- collection :elements, Supplier::Element
10
- end
11
- end