smshelper 0.2.5 → 0.2.6
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/VERSION +1 -1
- data/lib/smshelper/api/esendex.rb +2 -1
- data/lib/smshelper/api/traitel.rb +1 -1
- data/smshelper.gemspec +2 -2
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.6
|
@@ -34,7 +34,8 @@ module Smshelper
|
|
34
34
|
body = body.merge(@extra_options) unless @extra_options.nil?
|
35
35
|
|
36
36
|
resp = client.request(:com, :send_message_full) {|soap| soap.header["com:MessengerHeader"] = @header; soap.body = body}
|
37
|
-
|
37
|
+
@sent_message_ids << resp.to_hash[:send_message_full_response][:send_message_full_result]
|
38
|
+
resp.to_hash[:send_message_full_response][:send_message_full_result]
|
38
39
|
end
|
39
40
|
|
40
41
|
def get_inbox
|
@@ -26,7 +26,7 @@ module Smshelper
|
|
26
26
|
}
|
27
27
|
options = options.merge(@extra_options) unless @extra_options.nil?
|
28
28
|
resp = (get 'smsgateway.pl', :extra_query => options.merge(q)) #; resp.split(',')[2]
|
29
|
-
process_response_code(resp) ? (@sent_message_ids << resp.split(',')[2])
|
29
|
+
process_response_code(resp) ? (@sent_message_ids << resp.split(',')[2]; resp.split(',')[2]) : (raise ErrorDuringSend "Could not deliver")
|
30
30
|
end
|
31
31
|
|
32
32
|
def get_balance
|
data/smshelper.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "smshelper"
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.6"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Voip Scout"]
|
12
|
-
s.date = "2012-04-
|
12
|
+
s.date = "2012-04-05"
|
13
13
|
s.description = "works with esendex, textmagic, smstrade, bulksms, routomessaging, smswarehouse, mediaburst, clickatell, webtext"
|
14
14
|
s.email = "voipscout@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smshelper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
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: 2012-04-
|
12
|
+
date: 2012-04-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: api_smith
|
@@ -260,7 +260,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
260
260
|
version: '0'
|
261
261
|
segments:
|
262
262
|
- 0
|
263
|
-
hash: -
|
263
|
+
hash: -1557440167646036096
|
264
264
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
265
265
|
none: false
|
266
266
|
requirements:
|