tickethub 0.3.34 → 0.3.35
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tickethub/reseller/supplier.rb +19 -0
- data/lib/tickethub/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 618057c6cb628a95ca5a11143e60bc1cf821f649
|
4
|
+
data.tar.gz: 26e8f1b87764f50cd280f11ef54dc5313832c6db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64cc7d61f5a665e6a18e4217b7c09792d5f3b5435c9fcdd7bc814b7a3c5ffe3f468b720e39782c441ece9b820581a8090015992bfdf13c4fbe8f07d4c1f3c1f9
|
7
|
+
data.tar.gz: c2c12a9739d96b222cff1f168911de01c74b11bd745ee8d8766037a1f136df2f0f10aba1570927114ab876b122f1d5f112665dfe8d276a04756a2fed67992c2a
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require_relative '../resource'
|
2
|
+
|
3
|
+
module Tickethub
|
4
|
+
class Reseller::Supplier < Resource
|
5
|
+
path '/reseller/suppliers'
|
6
|
+
|
7
|
+
require_relative '../contact'
|
8
|
+
require_relative '../address'
|
9
|
+
|
10
|
+
association :contact, Tickethub::Contact
|
11
|
+
association :address, Tickethub::Address
|
12
|
+
|
13
|
+
attribute :time_zone, type: :timezone
|
14
|
+
attribute :currency, type: :currency
|
15
|
+
|
16
|
+
attribute :created_at, type: :datetime
|
17
|
+
attribute :updated_at, type: :datetime
|
18
|
+
end
|
19
|
+
end
|
data/lib/tickethub/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.35
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oliver Morgan
|
@@ -108,6 +108,7 @@ files:
|
|
108
108
|
- lib/tickethub/reseller.rb
|
109
109
|
- lib/tickethub/reseller/channel.rb
|
110
110
|
- lib/tickethub/reseller/product.rb
|
111
|
+
- lib/tickethub/reseller/supplier.rb
|
111
112
|
- lib/tickethub/resource.rb
|
112
113
|
- lib/tickethub/response.rb
|
113
114
|
- lib/tickethub/response/headers.rb
|