lib/smshelper/api/aql.rb in smshelper-0.2.4 vs lib/smshelper/api/aql.rb in smshelper-0.2.5

- old
+ new

@@ -1,13 +1,17 @@ module Smshelper module Api class Aql < Base - base_uri 'http://smsc.vianett.no/V3/CPA/MT' + base_uri 'https://gw.aql.com/sms' def initialize(*args) config = args.shift add_query_options! :username => config.aql[:uname], :password => config.aql[:passwd] super + end + + def send_message(message) + (post 'sms_gw.php') end end end end