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 +4 -4
- data/lib/tickethub/supplier/message.rb +4 -4
- data/lib/tickethub/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8aecf5fddf9c4718366449bdcffcff1312ced0f
|
4
|
+
data.tar.gz: a99345b8bb454c4ca014453f4d7066bb28cc5ef7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
17
|
-
@replies ||= Tickethub::Collection.new @endpoint[:replies].get
|
18
|
-
end
|
18
|
+
collection :replies, Supplier::Message
|
19
19
|
end
|
20
20
|
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.0.
|
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
|
+
date: 2014-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|