yonoma 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f782eff8ed3e2b785f3a4cc1d5a83baafdcf4e25436b51404bca5054dac149a
4
- data.tar.gz: 0ceff5124f0cc0e5e8f3dea4b7219b57f0e98c3ac2e1b10553ac89e06174ceca
3
+ metadata.gz: f213a1270795bdf392b5c098fb8b43f12d167327346956ee41b3c2391aaf70cc
4
+ data.tar.gz: 0e3d42910452a6406a8de6dd0472891be626f2541144314ef240278e4138f515
5
5
  SHA512:
6
- metadata.gz: d1cf346c4e354af8f110e4df7afd4e33e745b7154c13986ddc59389e4c9c24ed396d1645874ad1da3b27b541ff375261d4ab1aed44bb28962bdc0af88d3a7cf7
7
- data.tar.gz: 0bd71cbfaa5d6fb10029a0f071360b3187c226b77c9034e71b542fb8ba9bd618f3f928cb2c6f3e7a2e2060691162a29b1528398c1adbe0b9130d07147b24b9ee
6
+ metadata.gz: 31ff76654cd093cb94760f54b013ba5495068cd12096006925cc112a1cb2f197c707f48c7c132028288b359413adedae36480f0aa9532438e4f2451d2758a66e
7
+ data.tar.gz: a6e5b1bb38e47bcc8ac260808c9646a5fa81c4968d528a576d1f3f593d29087fa9132cc682544ce58399f0ebb4db38a15b277324ad7c4bbc7618dfca1cc5e0ee
data/README.md CHANGED
@@ -35,7 +35,7 @@ Yonoma.api_key = 'api_key'
35
35
  ### Usage
36
36
  #### Send your email:
37
37
  ```ruby
38
- response_email = Yonoma::Mail.send({
38
+ response_email = Yonoma::Email.send({
39
39
  "from_email":"updates@yonoma.io",
40
40
  "to_email":"email@yourdomain.com",
41
41
  "subject":"Welcome to Yonoma - You're In!",
@@ -1,5 +1,5 @@
1
1
  module Yonoma
2
- class Mail
2
+ class Email
3
3
  def self.send(params)
4
4
  Client.request(:post, "/email/send", params)
5
5
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Yonoma
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
data/lib/yonoma.rb CHANGED
@@ -5,7 +5,7 @@ require_relative "yonoma/client"
5
5
  require_relative "yonoma/contacts"
6
6
  require_relative "yonoma/lists"
7
7
  require_relative "yonoma/tags"
8
- require_relative "yonoma/mail"
8
+ require_relative "yonoma/email"
9
9
 
10
10
  module Yonoma
11
11
  class Error < StandardError; end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yonoma
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - YonomaHQ
@@ -48,8 +48,8 @@ files:
48
48
  - lib/yonoma.rb
49
49
  - lib/yonoma/client.rb
50
50
  - lib/yonoma/contacts.rb
51
+ - lib/yonoma/email.rb
51
52
  - lib/yonoma/lists.rb
52
- - lib/yonoma/mail.rb
53
53
  - lib/yonoma/tags.rb
54
54
  - lib/yonoma/version.rb
55
55
  - yonoma.gemspec