ficonabses 0.3.9 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ficonabses/base.rb +1 -0
- data/test/test_localhost.rb +10 -0
- metadata +4 -4
data/lib/ficonabses/base.rb
CHANGED
@@ -170,6 +170,7 @@ module FiconabSES
|
|
170
170
|
# res
|
171
171
|
end
|
172
172
|
def send_campaign_flow_old(destination,campaign_name,options={})
|
173
|
+
options["destination"]=destination
|
173
174
|
url=self.campaign_flow_params(destination,campaign_name,options)
|
174
175
|
# puts "url is: #{url}"
|
175
176
|
perform(url)
|
data/test/test_localhost.rb
CHANGED
@@ -71,5 +71,15 @@ class TestFiconabses < Test::Unit::TestCase
|
|
71
71
|
assert false==(res.include? 'Error')
|
72
72
|
|
73
73
|
end
|
74
|
+
def test_local_campaign_flow2
|
75
|
+
options={}
|
76
|
+
options['hello']='TESTING'
|
77
|
+
options['bcinfo']='+6590683565'
|
78
|
+
res =@f.send_campaign_flow(@destination,'testcc3',options) #no text portion
|
79
|
+
puts "RES is: #{res}"
|
80
|
+
assert res.include? '200'
|
81
|
+
assert false==(res.include? 'Error')
|
82
|
+
|
83
|
+
end
|
74
84
|
|
75
85
|
end
|
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
-
-
|
8
|
-
-
|
9
|
-
version: 0.
|
7
|
+
- 4
|
8
|
+
- 0
|
9
|
+
version: 0.4.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Scott Sproule
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2012-
|
17
|
+
date: 2012-06-17 00:00:00 +08:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|