tickethub 0.3.17 → 0.3.18
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/transfer.rb +18 -0
- data/lib/tickethub/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4586870840951d1e98140267f857e01c713f3d2
|
4
|
+
data.tar.gz: f0665f011667099084e3950ea27c52bdf3168a05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84c5d1e5554c467dcd5eab7a74fa10faa6d5af89301493ed62f9223a9f769a16deda09169347e0a6811e09bcd65d834fc9bbe420e651c48b1174c87e2fe42e28
|
7
|
+
data.tar.gz: 1b1e8271b08ad9a700c9fb37cfed2df924eeb972d55c45b467ab49cd03171b369c014a78a2924b8c0c13f7d2a4a7485d8133f08f1feaef2285efbfae8663e906
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require_relative '../resource'
|
2
|
+
|
3
|
+
module Tickethub
|
4
|
+
class Supplier::Transfer < Resource
|
5
|
+
path '/supplier/transfers'
|
6
|
+
|
7
|
+
require_relative 'payment'
|
8
|
+
|
9
|
+
collection :payments, Supplier::Payment
|
10
|
+
|
11
|
+
attribute :amount, type: :money
|
12
|
+
attribute :currency, type: :currency
|
13
|
+
|
14
|
+
attribute :date, type: :datetime
|
15
|
+
attribute :created_at, type: :datetime
|
16
|
+
attribute :updated_at, type: :datetime
|
17
|
+
end
|
18
|
+
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.3.
|
4
|
+
version: 0.3.18
|
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-04-
|
11
|
+
date: 2015-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -154,6 +154,7 @@ files:
|
|
154
154
|
- lib/tickethub/supplier/tax.rb
|
155
155
|
- lib/tickethub/supplier/ticket.rb
|
156
156
|
- lib/tickethub/supplier/tier.rb
|
157
|
+
- lib/tickethub/supplier/transfer.rb
|
157
158
|
- lib/tickethub/supplier/user.rb
|
158
159
|
- lib/tickethub/supplier/variant.rb
|
159
160
|
- lib/tickethub/supplier/voucher.rb
|