tickethub 0.0.11 → 0.0.12

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: bd2f2bcef4e4bf0fac332e79290a0c620b04752e
4
- data.tar.gz: c3b858727e1a8d14db7840ae9e114c5397de953d
3
+ metadata.gz: e8aecf5fddf9c4718366449bdcffcff1312ced0f
4
+ data.tar.gz: a99345b8bb454c4ca014453f4d7066bb28cc5ef7
5
5
  SHA512:
6
- metadata.gz: 70cdb9ceb1134c86a5872c1b6a573cbe8ed24555265c92baf59ae37a91fd5eec5692594839f4ca400f0860168ddf71725031ba0aeea2d192ea327f8aab03fed7
7
- data.tar.gz: 87229b47b9aba4b78b3152b56a0e76ac1fc8b336f229b37b79a0b83e534bdc5fd6a405b2acf59f15bdea0e756960d55c311cfa7eed9fd4601c41a2be33c39919
6
+ metadata.gz: 0d3846d3f04a87d52df955a11a516d40234f0ec2f4eafbd271e6be1d0264d781062e0a274e68781db67dcf77c464d61b8a4fb0456994ab38e2a4891da3dde92c
7
+ data.tar.gz: a5858a1f05e858de33a4a932dd34b45abe9ad59d1c379aa0d9b9cafb030cf1404e941cacb597bd7329277eb29268e9cb947cdbbb2f5ff6c31fc5db5b0a8c98e3
@@ -7,14 +7,14 @@ module Tickethub
7
7
  require_relative 'user'
8
8
  require_relative 'message/email'
9
9
  require_relative 'message/sms'
10
+ require_relative '../contact'
10
11
 
11
12
  association :user, Supplier::User
13
+ association :contact, Tickethub::Contact
14
+ association :customer, Supplier::Customer
12
15
 
13
16
  attribute :created_at, type: :datetime
14
- attribute :updated_at, type: :datetime
15
17
 
16
- def replies
17
- @replies ||= Tickethub::Collection.new @endpoint[:replies].get
18
- end
18
+ collection :replies, Supplier::Message
19
19
  end
20
20
  end
@@ -1,3 +1,3 @@
1
1
  module Tickethub
2
- VERSION = '0.0.11'
2
+ VERSION = '0.0.12'
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.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oliver Morgan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-11 00:00:00.000000000 Z
11
+ date: 2014-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler