sendgrid-mailer 0.1.0 → 0.1.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: e612ffbae6b3523742c306dab83215ca60d384ac
4
- data.tar.gz: 64aa3f5cdd87515aef2b413c245bf193d88a6eb7
3
+ metadata.gz: 97cf39e9f2214f4d05a3b33a4060b6d6a2f82473
4
+ data.tar.gz: 03d4184d0ea21d16f00e02c2ff7c49976914cdbc
5
5
  SHA512:
6
- metadata.gz: 60d43a62e783b4a65d7a47dfd638a38af8968524bbc7f9a86ab09c0d456915be4c18915d5223a1e7ccb8acc88330e66e9af54af9340d185bc83f1180aa6ed1be
7
- data.tar.gz: 217750f1b3c417a9b56b8f705b0b942c930198d2e824fa5b3e5a9a70cd97eafc90c2ffced76570878d2a4dd2e45a8707f589bdf33b54020d417590cbf38c01bc
6
+ metadata.gz: 9f2d9a13d770331877aac503261efb4b782a64d06c2ccf18ceca81a979a41dbc8d258a33c56a547c8da9e98697a686347fca540c0503303b2af13a9f59c5fadd
7
+ data.tar.gz: 1b96fccbe6f071891a827a0d8868d6080f6ea02ca5a0fe93183ad5fda960f5697e634e00cb8059995ec5c350a78cde5100139fab613bd19bed98e6803e06ce8a
@@ -1,5 +1,5 @@
1
1
  module Sendgrid
2
2
  class Mailer
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
@@ -7,7 +7,7 @@ module Sendgrid
7
7
  @templates = templates
8
8
  end
9
9
 
10
- def self.id(name, locale)
10
+ def get_id(name, locale)
11
11
  [locale, :en].each do |lang|
12
12
  output = @templates.try(:[], name).try(:[], lang)
13
13
 
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sendgrid-mailer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Watling
@@ -70,6 +70,7 @@ files:
70
70
  - lib/sendgrid/mailer.rb
71
71
  - lib/sendgrid/mailer/version.rb
72
72
  - lib/sendgrid/template.rb
73
+ - sendgrid-mailer-0.1.0.gem
73
74
  - sendgrid-mailer.gemspec
74
75
  homepage: https://www.jameswatling.com
75
76
  licenses: