def check_balance
      options = {:query => @auth}
      response =  self.class.get '/vendorsms/CheckBalance.aspx?',options
      responses = response.split('#')
      {:result=>responses[0],:response=>responses[1]}
    end
def check_balance
      options = {:query => @auth}
      response =  self.class.get '/vendorsms/CheckBalance.aspx?',options
      responses = response.split('#')
      {:result=>responses[0],:response=>responses[1]}
    end
Webmock stubs for testing
 stub_request(:get, "http://smslane.com/vendorsms/CheckBalance.aspx?password=karimbenzema&user=steverob").to_return(:body => "Success#20000", :status => 200, :headers => { 'Content-Length' => 13 })
 stub_request(:get, /http:\/\/smslane\.com\/vendorsms\/pushsms\.aspx?/).to_return(:body => lambda { |request|
   nums = CGI::parse(request.uri.query)['msisdn'][0].split(',')
   response = ''
   nums.each do |num|
     if !(/^(\+91|91)[789][0-9]{9}$/.match(num).nil?)
       response += 'The Message Id : ' + num + '-' + SecureRandom.hex + '<br />'
     else
       response = 'Failed#Invalid Mobile Numbers'
       break
     end
   end
   response
 })