zenvia_s4m 0.5 → 0.7

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
  SHA1:
3
- metadata.gz: bba32088853564056974d4dd87b97ff8147f6ede
4
- data.tar.gz: 3e35bcaa022536d0dadf0791c4d170b1b391d0cf
3
+ metadata.gz: bc3b1954d42f3a4f0d4c6697d819428bd2c20797
4
+ data.tar.gz: 4c610f6769478a4e7dfb6bdbc56efc7e84a56b0b
5
5
  SHA512:
6
- metadata.gz: b20cfc76de9ab21ae079cdc9d00930fb23ad9d6fb3f22074ceb1b772478b6896d8c23538e7f19d370079f54089b77e70b6e7a826fd5883faec661ec1590b091a
7
- data.tar.gz: 063361f5bc71e823732eacc1fc7b0151b54596b24729c3f9c0b8605ecc5fdb700de50d5af904cd853edb0614f640c23421053c85de5613d6f8de064782826879
6
+ metadata.gz: 7a5bd27e64d130df0b90b670846b0ca923dfa3c4ba3c30493d62f4a03d74a12d5c2989931a036a4d81efd89b50672ce7b703bd5d0c5a38bbd36beba97b413c37
7
+ data.tar.gz: b67ffaf924e49392d219748bca117f795bd5f6fda4f57f70022f396ab3dc5a7465de0f1d1fe99d620e7f7181b8030795ff067928afcd4bc0144f320b68d45cc1
data/README.md CHANGED
@@ -24,6 +24,7 @@ In app/config/application.rb :
24
24
  ZenviaS4m::configure do |config|
25
25
  config.account = 'xxxxxxxxxx.xxx'
26
26
  config.code = 'mycode'
27
+ config.from = 'yyyyy'
27
28
  config.url = 'http://www.zenvia360.com.br/GatewayIntegration/msgSms.do'
28
29
  config.log = false
29
30
  end
@@ -4,7 +4,6 @@ require 'singleton'
4
4
  module ZenviaS4m
5
5
  class Config
6
6
  include Singleton
7
- attr_accessor:code, :account, :url, :log
8
-
7
+ attr_accessor:code, :account, :url, :log, :from
9
8
  end
10
9
  end
@@ -10,6 +10,7 @@ module ZenviaS4m
10
10
  @info_SMS = {
11
11
  account: ZenviaS4m.config.account,
12
12
  code: ZenviaS4m.config.code,
13
+ from: ZenviaS4m.config.from,
13
14
  dispatch: 'send',
14
15
  to: @params[:phone],
15
16
  msg: @params[:message],
@@ -1,3 +1,3 @@
1
1
  module ZenviaS4m
2
- VERSION = "0.5"
2
+ VERSION = "0.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zenvia_s4m
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.5'
4
+ version: '0.7'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo Alencar
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-08-29 00:00:00.000000000 Z
11
+ date: 2016-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler