Permalink
Browse files

Now using updated urls

  • Loading branch information...
1 parent c0f01c6 commit 877542e431be7982847c05091ff7e6495d2593fd @davidmiani davidmiani committed Sep 12, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 VERSION
  2. +2 −2 lib/wire2air.rb
View
@@ -1 +1 @@
-0.3.1
+0.3.2
View
@@ -145,7 +145,7 @@ def check_sms_credits
# @param [String] keyword The keyword to search for
# @return Boolean true if the keyword is available
def check_keyword(short_code, keyword)
- url = URI.parse('http://mzone.wire2air.com/shortcodemanager/api/checkkeywordapi.aspx')
+ url = URI.parse('http://mzone.wire2air.com/mserver/servicemanager/api/checkkeywordapi.aspx')
response = Net::HTTP.post_form(url, {
'USERID' => userid,
'PASSWORD' => password,
@@ -184,7 +184,7 @@ def check_keyword(short_code, keyword)
# @raise ArgumentError If arguments are missing/invalid
# @raise KeywordIsTakenError
def register_keyword(opts)
- url = URI.parse('http://mzone.wire2air.com/shortcodemanager/api/RegisterKeywordAPI.aspx')
+ url = URI.parse('http://mzone.wire2air.com/mserver/servicemanager/api/checkkeywordapi.aspx')
params = {}
params['USERID'] = username
params['PASSWORD'] = password

0 comments on commit 877542e

Please sign in to comment.