tickethub 0.3.27 → 0.3.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tickethub/supplier/option.rb +5 -2
- data/lib/tickethub/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe69beb4959b8095d177c058f21e5a065d4c4131
|
4
|
+
data.tar.gz: d6cdfa89a1079b4a750c0dd8311c108734844b65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c032fc7d14526df85e5ee9ba63de8a9f187e8b1652a1caae0bd072c28ff2b0f476a48fbf37a58ee573c361ff6704440db3d0af54c95c5f17c95ffd7e2139d3f
|
7
|
+
data.tar.gz: d2bda68e69ad6c7fd36cfddce7550413ff7d08e9cffa8eb1b912b54295238770fb64a9c1aad585ea1ff5870d5fb9b2fd6b1a07d4a5db626c242b9888b0511d48
|
@@ -5,16 +5,19 @@ module Tickethub
|
|
5
5
|
path '/supplier/options'
|
6
6
|
|
7
7
|
scope :dates, -> (params) { @endpoint[:dates].get(params).decoded }
|
8
|
-
scope :active_dates, -> (params) { @endpoint[:dates, :active].get(params).decoded }
|
9
|
-
|
10
8
|
scope :active
|
11
9
|
|
10
|
+
require_relative 'ticket'
|
12
11
|
require_relative 'season'
|
13
12
|
require_relative 'user'
|
14
13
|
|
15
14
|
association :season, Supplier::Season
|
16
15
|
association :user, Supplier::User
|
17
16
|
|
17
|
+
collection :tickets, Supplier::Ticket
|
18
|
+
|
19
|
+
attribute :date_time, type: :datetime
|
20
|
+
|
18
21
|
attribute :time, type: :time
|
19
22
|
attribute :total, type: :money
|
20
23
|
attribute :currency, type: :currency
|
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.3.
|
4
|
+
version: 0.3.28
|
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-05-
|
11
|
+
date: 2015-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|