lib/globalsms/sms.rb in globalsms-0.3.0 vs lib/globalsms/sms.rb in globalsms-0.3.1

- old
+ new

@@ -11,11 +11,11 @@ end def single_send(argv) argv = { time: "now", - turkish_character: "1" + turkish_character: "0" }.merge(argv) body = "data=#{argv.to_json.to_s}" uri = "#{@api_base_url}/sms/send/single?key=#{@api_key}&secret=#{@api_secret}" @@ -24,11 +24,11 @@ end def bulk_send(argv) argv = { time: "now", - turkish_character: "1" + turkish_character: "0" }.merge(argv) body = "data=#{argv.to_json.to_s}" uri = "#{@api_base_url}/sms/send/single?key=#{@api_key}&secret=#{@api_secret}" @@ -38,10 +38,10 @@ def multi_send(argv) argv_def = { time: "now", - turkish_character: "1" + turkish_character: "0" } argv_array = argv.map { |arg| argv_def.merge(arg) } body = "data=#{argv_array.to_json.to_s}" \ No newline at end of file