sendgrid-ruby 4.3.0 → 4.3.1

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: b10b6641b622b28d8cf45996bfdf23168228c0bc
4
- data.tar.gz: 3dcc5c040fa1b80f0373f0971640e1f25b48cb70
3
+ metadata.gz: 7941bf2cff50124aed5687f12f593e1b16a44e68
4
+ data.tar.gz: dd7e3f37b1d6e3b69713faa243a700e18eaee3ac
5
5
  SHA512:
6
- metadata.gz: de2d4c4e5a036af2b24eee9158b091562372c523d6deada337c97e561b8771afa8069245a7188148e010b38febcbc65512d850e3ee9010639351dabad7bf31df
7
- data.tar.gz: 939366e0c87fada6692872757c26a5721747fb00923a2f889a8cfaa8aaf04656c83dc66ec6d16fa9109d5dfba90513a13c3bfec510bcab4bf3a336c8bd1a7430
6
+ metadata.gz: 0220a27ac2d35e063b6fcec73b1a4006c9b969da9943aba4901231cace2bfebba1ab6c04e9e4ff364d9461e3e6c9a1d2acf8c90f9532eea0d70d47f84bfa8702
7
+ data.tar.gz: 13f08e9fd6b642f13227289e9ecd82bd47aa882e2ce0f6002c07808f3d6a79f20b677fdfd5f0aad44c7ca1454e766e2e34f493b77a7c1b44437a37e5f8b4517e
data/.travis.yml CHANGED
@@ -17,4 +17,8 @@ notifications:
17
17
  format: html
18
18
  notify: false
19
19
  script:
20
- - rake
20
+ - rake test
21
+ - rake spec
22
+ before_install:
23
+ - gem update bundler
24
+
data/CHANGELOG.md CHANGED
@@ -1,38 +1,44 @@
1
1
  # Change Log
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
- ## [4.3.0] - 2016-4-17 ##
4
+ ## [4.3.1] - 2017-4-12 ##
5
+ ### Fixes
6
+ - #160: Updated sinatra version to 2.0
7
+ - Fixes bundler dependency issues with rails >5.0 and rack 2.0. Solves #159
8
+ - Thanks to [gkats](https://github.com/gkats) for the pull request!
9
+
10
+ ## [4.3.0] - 2017-4-12 ##
5
11
  ### Added
6
12
  - #70: Adds an account settings management helper object
7
13
  - See the [helper README](https://github.com/sendgrid/sendgrid-ruby/tree/master/lib/sendgrid/helpers/settings) for details
8
14
  - Thanks to [Kyle Kern](https://github.com/kernkw) for the pull request!
9
15
 
10
- ## [4.2.1] - 2016-4-10 ##
16
+ ## [4.2.1] - 2017-4-10 ##
11
17
  ### Fixed
12
18
  - #112: Fixes version ambiguity in gemspec
13
19
  - Thanks to [Chris McKnight](https://github.com/cmckni3) for the pull request!
14
20
 
15
- ## [4.2.0] - 2016-4-10 ##
21
+ ## [4.2.0] - 2017-4-10 ##
16
22
  ### Added
17
23
  - #148: Set api_key to empty string
18
24
  - This makes creating an API key for a SendGrid subuser who does not have an API key easier. See #146 for details
19
25
  - Thanks to [Adam Beck](https://github.com/Gwash3189) for the pull request!
20
26
 
21
- ## [4.1.1] - 2016-4-6 ##
27
+ ## [4.1.1] - 2017-4-6 ##
22
28
  ### Fixed
23
29
  - #115 #134: Fix typos in initialize methods
24
30
  - Thanks to [Ben Jackson](https://github.com/benjackson84) for the pull request!
25
31
 
26
- ## [4.1.0] - 2016-4-6 ##
32
+ ## [4.1.0] - 2017-4-6 ##
27
33
  ### Add
28
34
  - #144: Add [Inbound Email Parse Webhook](https://sendgrid.com/docs/API_Reference/Webhooks/inbound_email.html) support
29
35
  - Thanks to [Wataru Sato](https://github.com/awwa) for the pull request!
30
36
 
31
- ## [4.0.8] - 2016-2-17 ##
37
+ ## [4.0.8] - 2017-2-17 ##
32
38
  ### Add
33
39
  - Solves #147: Add User Agent string
34
40
 
35
- ## [4.0.7] - 2016-1-25 ##
41
+ ## [4.0.7] - 2017-1-25 ##
36
42
  ### Fixes
37
43
  - [Pull Request #7](https://github.com/sendgrid/ruby-http-client/pull/7)
38
44
  - Fixes [issue #6](https://github.com/sendgrid/ruby-http-client/issues/6): TLS certificates not verified
data/Gemfile CHANGED
@@ -1,3 +1,6 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
3
  gemspec
4
+
5
+ gem 'ruby_http_client'
6
+
data/README.md CHANGED
@@ -17,7 +17,6 @@ We appreciate your continued support, thank you!
17
17
  * [Installation](#installation)
18
18
  * [Quick Start](#quick_start)
19
19
  * [Processing Inbound Email](#inbound)
20
- * [Account Setting Management](#account)
21
20
  * [Usage](#usage)
22
21
  * [Use Cases](#use_cases)
23
22
  * [Announcements](#announcements)
@@ -158,11 +157,6 @@ puts response.headers
158
157
 
159
158
  Please see [our helper](https://github.com/sendgrid/sendgrid-ruby/tree/master/lib/sendgrid/helpers/inbound) for utilizing our Inbound Parse webhook.
160
159
 
161
- <a name="account"></a>
162
- # Account Setting Management
163
-
164
- Please see [our helper](https://github.com/sendgrid/sendgrid-ruby/tree/master/lib/sendgrid/helpers/settings) for updating account settings.
165
-
166
160
  <a name="usage"></a>
167
161
  # Usage
168
162
 
@@ -171,6 +165,7 @@ Please see [our helper](https://github.com/sendgrid/sendgrid-ruby/tree/master/li
171
165
  - [Example Code](https://github.com/sendgrid/sendgrid-ruby/tree/master/examples)
172
166
  - [How-to: Migration from v2 to v3](https://sendgrid.com/docs/Classroom/Send/v3_Mail_Send/how_to_migrate_from_v2_to_v3_mail_send.html)
173
167
  - [v3 Web API Mail Send Helper](https://github.com/sendgrid/sendgrid-ruby/tree/master/lib/sendgrid/helpers/mail) - build a request object payload for a v3 /mail/send API call.
168
+ - [Settings Helper](https://github.com/sendgrid/sendgrid-ruby/tree/master/lib/sendgrid/helpers/settings)
174
169
 
175
170
  <a name="use_cases"></a>
176
171
  # Use Cases
data/Rakefile CHANGED
@@ -1,4 +1,6 @@
1
1
  require 'rake/testtask'
2
+ require 'bundler/gem_tasks'
3
+ require 'rspec/core/rake_task'
2
4
 
3
5
  Rake::TestTask.new do |t|
4
6
  t.libs << 'test'
@@ -6,5 +8,8 @@ Rake::TestTask.new do |t|
6
8
  t.verbose = true
7
9
  end
8
10
 
11
+ RSpec::Core::RakeTask.new(:spec)
12
+
9
13
  desc "Run tests"
10
- task :default => :test
14
+ task default: [:spec, :test]
15
+
@@ -0,0 +1,23 @@
1
+ require 'sendgrid-ruby'
2
+ include SendGrid
3
+
4
+ sg_client = SendGrid::API.new(api_key: ENV['SENDGRID_API_KEY']).client
5
+ settings = SendGrid::Settings.new(sendgrid_client: sg_client)
6
+
7
+ # Fetch settings
8
+ response = settings.bcc
9
+ puts response.status_code
10
+ puts response.body
11
+ puts response.headers
12
+
13
+ # Turn on bcc settings
14
+ response = settings.update_bcc(enabled: true, email: "email@example.com")
15
+ puts response.status_code
16
+ puts response.body
17
+ puts response.headers
18
+
19
+ # Turn off bcc settings
20
+ response = settings.update_bcc(enabled: false)
21
+ puts response.status_code
22
+ puts response.body
23
+ puts response.headers
data/lib/sendgrid-ruby.rb CHANGED
@@ -1,3 +1,4 @@
1
1
  require_relative 'sendgrid/client'
2
2
  require_relative 'sendgrid/version'
3
- require_relative 'sendgrid/helpers/mail/mail'
3
+ require_relative 'sendgrid/helpers/mail/mail'
4
+ require_relative 'sendgrid/helpers/settings/settings'
@@ -0,0 +1,14 @@
1
+ **This module allows you to quickly and easily build a Settings object for retreiving or updating you SendGrid Settings.**
2
+
3
+ # Quick Start
4
+
5
+ Run the [example](https://github.com/sendgrid/sendgrid-ruby/tree/master/examples/helpers/settings) (make sure you have set your environment variable to include your SENDGRID_API_KEY).
6
+
7
+ ```bash
8
+ ruby examples/helpers/settings/example.rb
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ - See the [example](https://github.com/sendgrid/sendgrid-ruby/tree/master/examples/helpers/settings) for a complete working example.
14
+ - [Documentation](https://sendgrid.com/docs/API_Reference/Web_API_v3/Settings/index.html)
@@ -0,0 +1,13 @@
1
+ module SendGrid
2
+ class MailSettingsDto
3
+ attr_reader :bcc, :address_whitelist, :bounce_purge, :footer, :forward_spam, :forward_bounce, :plain_content, :spam_check, :template
4
+
5
+ def self.fetch(sendgrid_client:, name:, query_params:)
6
+ sendgrid_client.mail_settings.public_send(name).get(query_params: query_params)
7
+ end
8
+
9
+ def self.update(sendgrid_client:, name:, request_body:)
10
+ sendgrid_client.mail_settings.public_send(name).patch(request_body: request_body)
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,13 @@
1
+ module SendGrid
2
+ class PartnerSettingsDto
3
+ attr_reader :new_relic
4
+
5
+ def self.fetch(sendgrid_client:, name:, query_params:)
6
+ sendgrid_client.partner_settings.public_send(name).get(query_params: query_params)
7
+ end
8
+
9
+ def self.update(sendgrid_client:, name:, request_body:)
10
+ sendgrid_client.partner_settings.public_send(name).patch(request_body: request_body)
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,28 @@
1
+ require_relative 'mail_settings_dto'
2
+ require_relative 'partner_settings_dto'
3
+ require_relative 'tracking_settings_dto'
4
+ require_relative 'user_settings_dto'
5
+
6
+ module SendGrid
7
+ class Settings
8
+ attr_accessor :sendgrid_client
9
+
10
+ SETTING_TYPES = [SendGrid::MailSettingsDto, SendGrid::TrackingSettingsDto,
11
+ SendGrid::PartnerSettingsDto, SendGrid::UserSettingsDto]
12
+
13
+ def initialize(sendgrid_client:)
14
+ @sendgrid_client = sendgrid_client
15
+ end
16
+
17
+ SETTING_TYPES.each do |setting_type|
18
+ setting_type.instance_methods(false).each do |name|
19
+ define_method(name) do |**args|
20
+ setting_type.fetch(sendgrid_client: sendgrid_client, name: name, query_params: args)
21
+ end
22
+ define_method("update_#{name}") do |**args|
23
+ setting_type.update(sendgrid_client: sendgrid_client, name: name, request_body: args)
24
+ end
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,24 @@
1
+ module SendGrid
2
+ class TrackingSettingsDto
3
+ attr_reader :open, :click, :google_analytics, :subscription
4
+ alias :click_tracking :click
5
+ alias :open_tracking :open
6
+ alias :subscription_tracking :subscription
7
+
8
+ def self.fetch(sendgrid_client:, name:, query_params:)
9
+ name = scrub_alias_names(name.to_s)
10
+ sendgrid_client.tracking_settings.public_send(name).get(query_params: query_params)
11
+ end
12
+
13
+ def self.update(sendgrid_client:, name:, request_body:)
14
+ name = scrub_alias_names(name.to_s)
15
+ sendgrid_client.tracking_settings.public_send(name).patch(request_body: request_body)
16
+ end
17
+
18
+ private
19
+
20
+ def self.scrub_alias_names(name)
21
+ name.gsub(/_tracking/, '')
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,13 @@
1
+ module SendGrid
2
+ class UserSettingsDto
3
+ attr_reader :enforced_tls
4
+
5
+ def self.fetch(sendgrid_client:, name:, query_params:)
6
+ sendgrid_client.user.settings.public_send(name).get(query_params: query_params)
7
+ end
8
+
9
+ def self.update(sendgrid_client:, name:, request_body:)
10
+ sendgrid_client.user.settings.public_send(name).patch(request_body: request_body)
11
+ end
12
+ end
13
+ end
@@ -1,3 +1,3 @@
1
1
  module SendGrid
2
- VERSION = '4.3.0'
3
- end
2
+ VERSION = '4.3.1'
3
+ end
@@ -17,7 +17,10 @@ Gem::Specification.new do |spec|
17
17
  spec.test_files = spec.files.grep(/^(test|spec|features)/)
18
18
  spec.require_paths = ['lib']
19
19
  spec.add_dependency 'ruby_http_client', '~> 3.0'
20
- spec.add_dependency 'sinatra', '~> 1.4.7'
20
+ spec.add_dependency 'sinatra', '2.0.0.rc2'
21
21
  spec.add_development_dependency 'rake', '~> 0'
22
+ spec.add_development_dependency 'rspec'
23
+ spec.add_development_dependency 'pry'
24
+ spec.add_development_dependency 'faker'
22
25
  spec.add_development_dependency 'minitest', '~> 5.9'
23
26
  end
@@ -0,0 +1,32 @@
1
+ require 'spec_helper'
2
+
3
+ describe SendGrid::MailSettingsDto do
4
+ let(:sendgrid_client) { SendGrid::API.new(api_key: 'fake_key').client }
5
+ let(:mail_settings) { SendGrid::MailSettingsDto }
6
+ let(:setting_name) { 'bcc' }
7
+ let(:setting_params) { {email: Faker::Internet.email, enabled: rand(1..100).even?} }
8
+
9
+ it { should respond_to :bcc }
10
+ it { should respond_to :address_whitelist }
11
+ it { should respond_to :bounce_purge }
12
+ it { should respond_to :footer }
13
+ it { should respond_to :forward_spam }
14
+ it { should respond_to :forward_bounce }
15
+ it { should respond_to :plain_content }
16
+ it { should respond_to :spam_check }
17
+ it { should respond_to :template }
18
+
19
+ describe '.fetch' do
20
+ it 'calls get on sendgrid_client' do
21
+ args = { sendgrid_client: sendgrid_client, name: setting_name, query_params: {} }
22
+ expect(mail_settings.fetch(args)).to be_a SendGrid::Response
23
+ end
24
+ end
25
+
26
+ describe '.update' do
27
+ it 'calls patch on sendgrid_client' do
28
+ args = { sendgrid_client: sendgrid_client, name: setting_name, request_body: setting_params }
29
+ expect(mail_settings.update(args)).to be_a SendGrid::Response
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,24 @@
1
+ require 'spec_helper'
2
+
3
+ describe SendGrid::PartnerSettingsDto do
4
+ let(:sendgrid_client) { SendGrid::API.new(api_key: 'fake_key').client }
5
+ let(:partner_settings) { SendGrid::PartnerSettingsDto }
6
+ let(:setting_name) { 'new_relic' }
7
+ let(:setting_params) { {license_key: 'key', enabled: rand(1..100).even?} }
8
+
9
+ it { should respond_to :new_relic }
10
+
11
+ describe '.fetch' do
12
+ it 'calls get on sendgrid_client' do
13
+ args = { sendgrid_client: sendgrid_client, name: setting_name, query_params: {} }
14
+ expect(partner_settings.fetch(args)).to be_a SendGrid::Response
15
+ end
16
+ end
17
+
18
+ describe '.update' do
19
+ it 'calls patch on sendgrid_client' do
20
+ args = { sendgrid_client: sendgrid_client, name: setting_name, request_body: setting_params }
21
+ expect(partner_settings.update(args)).to be_a SendGrid::Response
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,25 @@
1
+ require 'spec_helper'
2
+
3
+ describe SendGrid::Settings do
4
+ let(:sendgrid_client) { SendGrid::API.new(api_key: 'fake_key').client }
5
+ let(:settings) { SendGrid::Settings.new(sendgrid_client: sendgrid_client) }
6
+
7
+ describe '.new' do
8
+ it 'initializes correctly' do
9
+ expect(settings).to be_a SendGrid::Settings
10
+ end
11
+ end
12
+
13
+ describe '.bcc' do
14
+ it 'fetches bcc data' do
15
+ expect(settings.bcc).to be_a SendGrid::Response
16
+ end
17
+ end
18
+
19
+ describe '.update_bcc' do
20
+ it 'updates bcc' do
21
+ bcc_response = settings.update_bcc(enabled: true, email: "email@example.com")
22
+ expect(bcc_response).to be_a SendGrid::Response
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,27 @@
1
+ require 'spec_helper'
2
+
3
+ describe SendGrid::TrackingSettingsDto do
4
+ let(:sendgrid_client) { SendGrid::API.new(api_key: 'fake_key').client }
5
+ let(:tracking_settings) { SendGrid::TrackingSettingsDto }
6
+ let(:setting_name) { 'open_tracking' }
7
+ let(:setting_params) { {enabled: rand(1..100).even?} }
8
+
9
+ it { should respond_to :open_tracking }
10
+ it { should respond_to :click_tracking }
11
+ it { should respond_to :google_analytics }
12
+ it { should respond_to :subscription_tracking }
13
+
14
+ describe '.fetch' do
15
+ it 'calls get on sendgrid_client' do
16
+ args = { sendgrid_client: sendgrid_client, name: setting_name, query_params: {} }
17
+ expect(tracking_settings.fetch(args)).to be_a SendGrid::Response
18
+ end
19
+ end
20
+
21
+ describe '.update' do
22
+ it 'calls patch on sendgrid_client' do
23
+ args = { sendgrid_client: sendgrid_client, name: setting_name, request_body: setting_params }
24
+ expect(tracking_settings.update(args)).to be_a SendGrid::Response
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,24 @@
1
+ require 'spec_helper'
2
+
3
+ describe SendGrid::UserSettingsDto do
4
+ let(:sendgrid_client) { SendGrid::API.new(api_key: 'fake_key').client }
5
+ let(:user_settings) { SendGrid::UserSettingsDto }
6
+ let(:setting_name) { 'enforced_tls' }
7
+ let(:setting_params) { {require_tls: rand(1..100).even?} }
8
+
9
+ it { should respond_to :enforced_tls }
10
+
11
+ describe '.fetch' do
12
+ it 'calls get on sendgrid_client' do
13
+ args = { sendgrid_client: sendgrid_client, name: setting_name, query_params: {} }
14
+ expect(user_settings.fetch(args)).to be_a SendGrid::Response
15
+ end
16
+ end
17
+
18
+ describe '.update' do
19
+ it 'calls patch on sendgrid_client' do
20
+ args = { sendgrid_client: sendgrid_client, name: setting_name, request_body: setting_params }
21
+ expect(user_settings.update(args)).to be_a SendGrid::Response
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,10 @@
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+ require 'pry'
4
+ require 'faker'
5
+
6
+ RSpec.configure do |config|
7
+ Dir["#{File.dirname(__FILE__)}/../lib/sendgrid-ruby.rb"].sort.each { |ext| require ext }
8
+
9
+ config.color = true
10
+ end
@@ -55,7 +55,7 @@ class TestAPI < MiniTest::Test
55
55
  ')
56
56
  assert_equal(test_headers, sg.request_headers)
57
57
  assert_equal("v3", sg.version)
58
- assert_equal("4.3.0", SendGrid::VERSION)
58
+ assert_equal("4.3.1", SendGrid::VERSION)
59
59
  assert_instance_of(SendGrid::Client, sg.client)
60
60
  end
61
61
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sendgrid-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.0
4
+ version: 4.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elmer Thomas
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-04-17 00:00:00.000000000 Z
13
+ date: 2017-04-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: ruby_http_client
@@ -30,16 +30,16 @@ dependencies:
30
30
  name: sinatra
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
- - - "~>"
33
+ - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 1.4.7
35
+ version: 2.0.0.rc2
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - "~>"
40
+ - - '='
41
41
  - !ruby/object:Gem::Version
42
- version: 1.4.7
42
+ version: 2.0.0.rc2
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: rake
45
45
  requirement: !ruby/object:Gem::Requirement
@@ -54,6 +54,48 @@ dependencies:
54
54
  - - "~>"
55
55
  - !ruby/object:Gem::Version
56
56
  version: '0'
57
+ - !ruby/object:Gem::Dependency
58
+ name: rspec
59
+ requirement: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: '0'
64
+ type: :development
65
+ prerelease: false
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ - !ruby/object:Gem::Dependency
72
+ name: pry
73
+ requirement: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ type: :development
79
+ prerelease: false
80
+ version_requirements: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: '0'
85
+ - !ruby/object:Gem::Dependency
86
+ name: faker
87
+ requirement: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ version: '0'
92
+ type: :development
93
+ prerelease: false
94
+ version_requirements: !ruby/object:Gem::Requirement
95
+ requirements:
96
+ - - ">="
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
57
99
  - !ruby/object:Gem::Dependency
58
100
  name: minitest
59
101
  requirement: !ruby/object:Gem::Requirement
@@ -99,6 +141,7 @@ files:
99
141
  - examples/devices/devices.rb
100
142
  - examples/geo/geo.rb
101
143
  - examples/helpers/mail/example.rb
144
+ - examples/helpers/settings/example.rb
102
145
  - examples/ips/ips.rb
103
146
  - examples/mail/mail.rb
104
147
  - examples/mailboxproviders/mailboxproviders.rb
@@ -125,8 +168,20 @@ files:
125
168
  - lib/sendgrid/helpers/inbound/send.rb
126
169
  - lib/sendgrid/helpers/mail/README.md
127
170
  - lib/sendgrid/helpers/mail/mail.rb
171
+ - lib/sendgrid/helpers/settings/README.md
172
+ - lib/sendgrid/helpers/settings/mail_settings_dto.rb
173
+ - lib/sendgrid/helpers/settings/partner_settings_dto.rb
174
+ - lib/sendgrid/helpers/settings/settings.rb
175
+ - lib/sendgrid/helpers/settings/tracking_settings_dto.rb
176
+ - lib/sendgrid/helpers/settings/user_settings_dto.rb
128
177
  - lib/sendgrid/version.rb
129
178
  - sendgrid-ruby.gemspec
179
+ - spec/sendgrid/helpers/settings/mail_settings_dto_spec.rb
180
+ - spec/sendgrid/helpers/settings/partner_settings_dto_spec.rb
181
+ - spec/sendgrid/helpers/settings/settings_spec.rb
182
+ - spec/sendgrid/helpers/settings/tracking_settings_dto_spec.rb
183
+ - spec/sendgrid/helpers/settings/user_settings_dto_spec.rb
184
+ - spec/spec_helper.rb
130
185
  - test/prism.sh
131
186
  - test/sendgrid/helpers/mail/test_mail.rb
132
187
  - test/sendgrid/test_sendgrid-ruby.rb
@@ -155,6 +210,12 @@ signing_key:
155
210
  specification_version: 4
156
211
  summary: Official SendGrid Gem
157
212
  test_files:
213
+ - spec/sendgrid/helpers/settings/mail_settings_dto_spec.rb
214
+ - spec/sendgrid/helpers/settings/partner_settings_dto_spec.rb
215
+ - spec/sendgrid/helpers/settings/settings_spec.rb
216
+ - spec/sendgrid/helpers/settings/tracking_settings_dto_spec.rb
217
+ - spec/sendgrid/helpers/settings/user_settings_dto_spec.rb
218
+ - spec/spec_helper.rb
158
219
  - test/prism.sh
159
220
  - test/sendgrid/helpers/mail/test_mail.rb
160
221
  - test/sendgrid/test_sendgrid-ruby.rb