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 +4 -4
- data/lib/tickethub.rb +0 -1
- data/lib/tickethub/app.rb +2 -4
- data/lib/tickethub/app/category.rb +7 -0
- data/lib/tickethub/app/subscription.rb +2 -2
- data/lib/tickethub/supplier.rb +0 -2
- data/lib/tickethub/supplier/app.rb +0 -4
- data/lib/tickethub/supplier/subscription.rb +2 -4
- data/lib/tickethub/version.rb +1 -1
- metadata +3 -7
- data/lib/tickethub/app/package.rb +0 -8
- data/lib/tickethub/category.rb +0 -7
- data/lib/tickethub/supplier/element.rb +0 -11
- data/lib/tickethub/supplier/package.rb +0 -9
- data/lib/tickethub/supplier/template.rb +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: adba97a56773c8cb7a4866479bc2076293c638fe
|
4
|
+
data.tar.gz: ecedcdcc4ba35680d756b65f89cfc58e929df63b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0dad92d61a9e52dbea1b8ad2cbbae17995108bb03a44a2301a4ffd9b5176975ac013f028079dc112eba7a1131120a100745c9c9898fe347ad0706c758bedf7e
|
7
|
+
data.tar.gz: fda4332115a573a66aa7124237780de2c7a6310dfbe3afce81cf5da93c7d8b83682b1ab3613f4b32c587c221be34b5317e8282e1b7c077dffe22d662600c7623
|
data/lib/tickethub.rb
CHANGED
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
|
-
|
12
|
+
association :category, App::Category
|
15
13
|
collection :subscriptions, App::Subscription
|
16
14
|
|
17
15
|
attribute :currency, type: :currency
|
data/lib/tickethub/supplier.rb
CHANGED
@@ -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
|
@@ -4,12 +4,10 @@ module Tickethub
|
|
4
4
|
class Supplier::Subscription < Resource
|
5
5
|
path '/supplier/subscriptions'
|
6
6
|
|
7
|
-
require_relative '
|
8
|
-
require_relative 'user'
|
7
|
+
require_relative 'app'
|
9
8
|
require_relative '../token'
|
10
9
|
|
11
|
-
association :
|
12
|
-
association :user, Supplier::User
|
10
|
+
association :app, Supplier::App
|
13
11
|
association :token, Token
|
14
12
|
end
|
15
13
|
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.0.
|
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
|
+
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/
|
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
|
data/lib/tickethub/category.rb
DELETED