tickethub 0.3.76 → 0.3.77

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: f0dbef52720a2982916d8792d3a2d0d524106d01
4
- data.tar.gz: 8f70b3e71004295c707e4dd995348797b82c4d27
3
+ metadata.gz: a0f7f9d8dbb1d1023fe3300fff14b9600b00dfbe
4
+ data.tar.gz: ee60f3d8eff518744d7e80857351d0f99afbb570
5
5
  SHA512:
6
- metadata.gz: a24d40136bb146348ef5be2951a917b7126da3e4e5acb889d14a2805079abd8f6bac076388ef629ed459f21d3884a9450368f317dca58aba57a79d607b932635
7
- data.tar.gz: 83566e09a91035fe0cd35963fe6c6760ef2abfd7afbd3aa51a701d746a869b3c16994a2c3433dec03a1ac8acd52ba15ea4df96c39335fb236a319272af29bcaf
6
+ metadata.gz: dbbd58b349e146a0e6a7dce1dce5a6ee6e18c40185cc0c96a2a84574143954a142efb8b486d448ada716ac33dfb801e065e5f459411022e2308dccac6def167f
7
+ data.tar.gz: 5eb13ae5aa71510216d8b44befa1685537f3fda3810d3f8d32d8d6ccd09657dbf389abec901c65e89d31deca782195ccc5d89ddfef41d9f99b3a820c02415471
@@ -34,6 +34,7 @@ module Tickethub
34
34
  require_relative 'supplier/scan'
35
35
  require_relative 'supplier/session'
36
36
  require_relative 'supplier/shift'
37
+ require_relative 'supplier/location'
37
38
 
38
39
  require_relative 'contact'
39
40
  require_relative 'address'
@@ -72,6 +73,7 @@ module Tickethub
72
73
  collection :scans, Scan
73
74
  collection :sessions, Session
74
75
  collection :shifts, Shift
76
+ collection :locations, Location
75
77
 
76
78
  association :address, Tickethub::Address
77
79
  association :contact, Tickethub::Contact
@@ -0,0 +1,10 @@
1
+ require_relative '../resource'
2
+
3
+ module Tickethub
4
+ class Supplier::Location < Resource
5
+ path '/supplier/locations'
6
+
7
+ attribute :updated_at, type: :datetime
8
+ attribute :created_at, type: :datetime
9
+ end
10
+ end
@@ -15,6 +15,7 @@ module Tickethub
15
15
  require_relative 'answer'
16
16
  require_relative 'message'
17
17
  require_relative 'session'
18
+ require_relative 'location'
18
19
  require_relative 'broadcast'
19
20
 
20
21
  require_relative '../address'
@@ -32,6 +33,7 @@ module Tickethub
32
33
  association :customer, Supplier::Customer
33
34
 
34
35
  association :user, Supplier::User
36
+ association :location, Supplier::Location
35
37
  association :session, Supplier::Session
36
38
  association :address, Tickethub::Address
37
39
 
@@ -1,3 +1,3 @@
1
1
  module Tickethub
2
- VERSION = '0.3.76'
2
+ VERSION = '0.3.77'
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.76
4
+ version: 0.3.77
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-12-30 00:00:00.000000000 Z
11
+ date: 2016-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -144,6 +144,7 @@ files:
144
144
  - lib/tickethub/supplier/fee.rb
145
145
  - lib/tickethub/supplier/import.rb
146
146
  - lib/tickethub/supplier/invoice.rb
147
+ - lib/tickethub/supplier/location.rb
147
148
  - lib/tickethub/supplier/message.rb
148
149
  - lib/tickethub/supplier/message/email.rb
149
150
  - lib/tickethub/supplier/message/sms.rb
@@ -205,7 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
205
206
  version: '0'
206
207
  requirements: []
207
208
  rubyforge_project:
208
- rubygems_version: 2.4.5
209
+ rubygems_version: 2.5.1
209
210
  signing_key:
210
211
  specification_version: 4
211
212
  summary: API client for tickethub.io