voice_com 0.0.1.1 → 0.0.1.2
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.
- data/README.md +3 -1
- data/lib/voice_com/request.rb +0 -1
- data/lib/voice_com/response.rb +1 -1
- data/lib/voice_com/version.rb +1 -1
- metadata +4 -4
data/README.md
CHANGED
@@ -55,6 +55,8 @@ A template is give in the gem's repository in templates/voicecom_config.yml.
|
|
55
55
|
|
56
56
|
The method returns a response string, check VoiceCom documentation for more details.
|
57
57
|
|
58
|
+
## Response
|
59
|
+
|
58
60
|
Creating a response object:
|
59
61
|
|
60
62
|
response = VoiceCom::Response.new response_attr
|
@@ -66,7 +68,7 @@ A template is give in the gem's repository in templates/voicecom_config.yml.
|
|
66
68
|
|
67
69
|
|
68
70
|
|
69
|
-
|
71
|
+
|
70
72
|
|
71
73
|
|
72
74
|
|
data/lib/voice_com/request.rb
CHANGED
@@ -22,7 +22,6 @@ module VoiceCom
|
|
22
22
|
|
23
23
|
def build_uri
|
24
24
|
url_string = "http://#{@main_url}?serviceID=#{@sid}&id=#{smsid}&msisdn=#{phone}&msg=#{text}"
|
25
|
-
# url_string = "http://#{@main_url}?sid=#{@sid}&id=#{smsid}&msisdn=#{phone}&text=#{text}"
|
26
25
|
url_str = addition_attr_to_uri url_string
|
27
26
|
|
28
27
|
@request_uri = URI.encode url_str
|
data/lib/voice_com/response.rb
CHANGED
data/lib/voice_com/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: voice_com
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1.
|
4
|
+
version: 0.0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-03-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -78,7 +78,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
78
78
|
version: '0'
|
79
79
|
segments:
|
80
80
|
- 0
|
81
|
-
hash: -
|
81
|
+
hash: -2878627703292417795
|
82
82
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
87
|
version: '0'
|
88
88
|
segments:
|
89
89
|
- 0
|
90
|
-
hash: -
|
90
|
+
hash: -2878627703292417795
|
91
91
|
requirements: []
|
92
92
|
rubyforge_project:
|
93
93
|
rubygems_version: 1.8.25
|