govdelivery-tms 0.8.11 → 0.8.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: 99f2be27943fbf06fd2170b7e2ccb482edcc866f
4
- data.tar.gz: a998982dd683514ac32156b12d47166c6734ff2e
3
+ metadata.gz: 6275e581cce48e1f7147590aa715f12b9fc93980
4
+ data.tar.gz: 0019662d9591db3023514709994d5fa47987bbb6
5
5
  SHA512:
6
- metadata.gz: 6c71303041a24185888c8207dd3eb1969e556551916e0459123a56f1d349779a9a230e17d578b3f2001bca281722159f0a6ff6004c7859ccf491b73bebc515e4
7
- data.tar.gz: d4e5a483b0aeebdf9b05901d3fa2f56e79eca35a3c5789488398bb6d47f156210da26dac5bfe8acb7d5ade2a14a8823b37a85b9f2e9866bc69b8498058fbaf54
6
+ metadata.gz: 864e387d864da67dcc0a5f2e2f242def27ef7f5fe8271c4de0bc94755921591b23e88291f2f4ca2e337e571a98b6a93e42485336f6a2f1a60f783ae6a9edb48a
7
+ data.tar.gz: c3b1f1185fc050bfa4b016712412cd75dd0bad28403087c9cafa9a77b533be3ad670ab4a8b10f76d3e06eee1d75a6342cb975f662f368124f3fc557f3111e42c
@@ -26,6 +26,7 @@ require 'govdelivery/tms/resource/email_recipient_open'
26
26
  require 'govdelivery/tms/resource/email_recipient_click'
27
27
  require 'govdelivery/tms/resource/from_address'
28
28
  require 'govdelivery/tms/resource/email_template'
29
+ require 'govdelivery/tms/resource/sms_template'
29
30
  require 'govdelivery/tms/resource/sms_message'
30
31
  require 'govdelivery/tms/resource/email_message'
31
32
  require 'govdelivery/tms/resource/inbound_sms_message'
@@ -67,12 +67,16 @@ end
67
67
  # A collection of Email Template objects.
68
68
  #
69
69
  # @example
70
- # email_template = client.email_template.get
70
+ # email_template = client.email_templates.get
71
71
  #
72
72
  class GovDelivery::TMS::EmailTemplates
73
73
  include GovDelivery::TMS::CollectionResource
74
74
  end
75
75
 
76
+ class GovDelivery::TMS::SmsTemplates
77
+ include GovDelivery::TMS::CollectionResource
78
+ end
79
+
76
80
  class GovDelivery::TMS::FromAddresses
77
81
  include GovDelivery::TMS::CollectionResource
78
82
  end
@@ -30,5 +30,7 @@ module GovDelivery::TMS #:nodoc:
30
30
  ##
31
31
  # A CollectionResource of Recipients that failed
32
32
  collection_attribute :failed, 'Recipients'
33
+
34
+ linkable_attributes :sms_template
33
35
  end
34
36
  end
@@ -0,0 +1,12 @@
1
+ module GovDelivery::TMS #:nodoc:
2
+ class SmsTemplate
3
+ include InstanceResource
4
+
5
+ # @!parse attr_accessor :body
6
+ writeable_attributes :body
7
+
8
+ # @!parse attr_reader :id, :created_at
9
+ readonly_attributes :id, :created_at
10
+
11
+ end
12
+ end
@@ -1,5 +1,5 @@
1
1
  module GovDelivery
2
2
  module TMS #:nodoc:
3
- VERSION = '0.8.11'
3
+ VERSION = '0.8.12'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,60 +1,60 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govdelivery-tms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.11
4
+ version: 0.8.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - GovDelivery
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-02 00:00:00.000000000 Z
11
+ date: 2015-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
+ name: activesupport
14
15
  requirement: !ruby/object:Gem::Requirement
15
16
  requirements:
16
- - - '>='
17
+ - - ">="
17
18
  - !ruby/object:Gem::Version
18
19
  version: '0'
19
- name: activesupport
20
- prerelease: false
21
20
  type: :runtime
21
+ prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
+ name: faraday
28
29
  requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
- - - '>='
31
+ - - ">="
31
32
  - !ruby/object:Gem::Version
32
33
  version: '0'
33
- name: faraday
34
- prerelease: false
35
34
  type: :runtime
35
+ prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
+ name: faraday_middleware
42
43
  requirement: !ruby/object:Gem::Requirement
43
44
  requirements:
44
- - - '>='
45
+ - - ">="
45
46
  - !ruby/object:Gem::Version
46
47
  version: '0'
47
- name: faraday_middleware
48
- prerelease: false
49
48
  type: :runtime
49
+ prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- description: "A reference implementation, written in Ruby,\n to\
56
- \ interact with GovDelivery's TMS API. The client is\n compatible\
57
- \ with Ruby 1.9 and 2.0. "
55
+ description: "A reference implementation, written in Ruby,\n to
56
+ interact with GovDelivery's TMS API. The client is\n compatible
57
+ with Ruby 1.9 and 2.0. "
58
58
  email:
59
59
  - support@govdelivery.com
60
60
  executables: []
@@ -74,7 +74,6 @@ files:
74
74
  - lib/govdelivery/tms/instance_resource.rb
75
75
  - lib/govdelivery/tms/link_header.rb
76
76
  - lib/govdelivery/tms/logger.rb
77
- - lib/govdelivery/tms/version.rb
78
77
  - lib/govdelivery/tms/mail/delivery_method.rb
79
78
  - lib/govdelivery/tms/resource/collections.rb
80
79
  - lib/govdelivery/tms/resource/command.rb
@@ -90,9 +89,11 @@ files:
90
89
  - lib/govdelivery/tms/resource/keyword.rb
91
90
  - lib/govdelivery/tms/resource/recipient.rb
92
91
  - lib/govdelivery/tms/resource/sms_message.rb
92
+ - lib/govdelivery/tms/resource/sms_template.rb
93
93
  - lib/govdelivery/tms/resource/webhook.rb
94
94
  - lib/govdelivery/tms/util/core_ext.rb
95
95
  - lib/govdelivery/tms/util/hal_link_parser.rb
96
+ - lib/govdelivery/tms/version.rb
96
97
  - spec/client_spec.rb
97
98
  - spec/command_types_spec.rb
98
99
  - spec/email_message_spec.rb
@@ -111,24 +112,24 @@ files:
111
112
  homepage: http://govdelivery.com
112
113
  licenses: []
113
114
  metadata: {}
114
- post_install_message:
115
+ post_install_message:
115
116
  rdoc_options: []
116
117
  require_paths:
117
118
  - lib
118
119
  required_ruby_version: !ruby/object:Gem::Requirement
119
120
  requirements:
120
- - - '>='
121
+ - - ">="
121
122
  - !ruby/object:Gem::Version
122
123
  version: '0'
123
124
  required_rubygems_version: !ruby/object:Gem::Requirement
124
125
  requirements:
125
- - - '>='
126
+ - - ">="
126
127
  - !ruby/object:Gem::Version
127
128
  version: '0'
128
129
  requirements: []
129
- rubyforge_project:
130
- rubygems_version: 2.1.9
131
- signing_key:
130
+ rubyforge_project:
131
+ rubygems_version: 2.4.5.1
132
+ signing_key:
132
133
  specification_version: 4
133
134
  summary: A ruby client to interact with the GovDelivery TMS REST API.
134
135
  test_files:
@@ -147,4 +148,4 @@ test_files:
147
148
  - spec/sms_messages_spec.rb
148
149
  - spec/spec_helper.rb
149
150
  - spec/tms_spec.rb
150
- has_rdoc:
151
+ has_rdoc: