tickethub 0.3.34 → 0.3.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e881545ecec50d84316e0d2108ac23f8cb399121
4
- data.tar.gz: a444ac0cdb84c7fac25fface933fd71cebccbc88
3
+ metadata.gz: 618057c6cb628a95ca5a11143e60bc1cf821f649
4
+ data.tar.gz: 26e8f1b87764f50cd280f11ef54dc5313832c6db
5
5
  SHA512:
6
- metadata.gz: 42c45b47b450828041943f6a0dbf1887662a79dabe3fc83d7a07b0590fb90e9db5f74fbb154b0cea1de960f0259e22d49a7512a3ed0af0ebd82860ec90d85aed
7
- data.tar.gz: f4452d8f02fdc974a5a35b5c6f54b28d180d80548aeaa5a28fadb57906a404c1d22436172cf80905b14d6168c2b26752feee9b66c034e83694b424362ad8a989
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
@@ -1,3 +1,3 @@
1
1
  module Tickethub
2
- VERSION = '0.3.34'
2
+ VERSION = '0.3.35'
3
3
  end
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.34
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