Sha256: ed9b787eea921cac80783f4938fdeb9d996ab5adbc8e18290d5768a12b0c679c

Contents?: true

Size: 354 Bytes

Versions: 6

Compression:

Stored size: 354 Bytes

Contents

module Smshelper
  module Api
    class Aql < Base
      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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
smshelper-0.2.10 lib/smshelper/api/aql.rb
smshelper-0.2.9 lib/smshelper/api/aql.rb
smshelper-0.2.8 lib/smshelper/api/aql.rb
smshelper-0.2.7 lib/smshelper/api/aql.rb
smshelper-0.2.6 lib/smshelper/api/aql.rb
smshelper-0.2.5 lib/smshelper/api/aql.rb