tww-ruby 0.0.2 → 0.0.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 +4 -4
- data/README.md +2 -2
- data/VERSION +1 -1
- data/lib/generators/tww/install/install_generator.rb +1 -1
- data/lib/generators/tww/install/templates/tww.rb +1 -1
- data/lib/tww/base.rb +1 -1
- data/lib/tww/configuration.rb +1 -1
- data/lib/tww/sms.rb +3 -3
- data/tww-ruby.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 068fd5bf617c7655a00474ae0b522a4c882b0af6
|
4
|
+
data.tar.gz: 0fd5eccf6c2694b2a39127067e5b9c74bfbd1b44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7ea38f9ee02ec50dab59081b33fbee938a737485abab0795714b0fbe2361b7273618f596fe0bf0833503400ecec3c9871544162cf11ac6a100ace50d5ef8672
|
7
|
+
data.tar.gz: 5923ae7309d0dc929f43ccd3fd2ae6615ffa6d09a0cbc576933c53e4603992971f27a46637ea7cce369620a2ec321462bd8b6e7bfda036f72b321b786620fec3
|
data/README.md
CHANGED
@@ -26,7 +26,7 @@ after config file created, you should define config params:
|
|
26
26
|
|
27
27
|
require 'tww'
|
28
28
|
|
29
|
-
|
29
|
+
Tww.configure do |config|
|
30
30
|
config.numUser = 'YOUR TWW NUMBER USER'
|
31
31
|
config.password = 'YOUR TWW PASSWORD'
|
32
32
|
end
|
@@ -41,7 +41,7 @@ require 'tww'
|
|
41
41
|
|
42
42
|
# Sending a SMS
|
43
43
|
|
44
|
-
sms =
|
44
|
+
sms = Tww::Sms.new('you-id', 'test message!', 5521999999999)
|
45
45
|
sms.forward =>
|
46
46
|
|
47
47
|
```
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.3
|
data/lib/tww/base.rb
CHANGED
data/lib/tww/configuration.rb
CHANGED
data/lib/tww/sms.rb
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
module
|
1
|
+
module Tww
|
2
2
|
class Sms
|
3
3
|
include Base
|
4
4
|
|
5
|
-
attr_accessor :message, :cel
|
5
|
+
attr_accessor :id_sms, :message, :cel
|
6
6
|
|
7
7
|
def initialize(id_sms, message, cel)
|
8
8
|
@id_sms = id_sms
|
9
|
-
@message
|
9
|
+
@message = message
|
10
10
|
@cel = cel
|
11
11
|
end
|
12
12
|
|
data/tww-ruby.gemspec
CHANGED