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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d6888cb26d4a5d33a84c605dac66f622ca5d6088
4
- data.tar.gz: 3e1759ae5c05d670c89ccbfc98930765cd44d28c
3
+ metadata.gz: fe69beb4959b8095d177c058f21e5a065d4c4131
4
+ data.tar.gz: d6cdfa89a1079b4a750c0dd8311c108734844b65
5
5
  SHA512:
6
- metadata.gz: 862a6418859bbe87448c8eaca0599baef6e33216350f5052dbd3e388e7a0a38dbfb47197b4752235e84827365a6fa1595aa17988da3c9fdc551fd2af773284cb
7
- data.tar.gz: 9834ed208f26ee7cb4fb182f24e045256dff48ed967600fa01df7e946c5ecde4c0ae45e0db039436b4dbaaffbc90a935aa181715c3f3ea7a34bcbbb5099bf4fd
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
@@ -1,3 +1,3 @@
1
1
  module Tickethub
2
- VERSION = '0.3.27'
2
+ VERSION = '0.3.28'
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.27
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-08 00:00:00.000000000 Z
11
+ date: 2015-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler