lib/kotsms2.rb in kotsms2-1.0.0 vs lib/kotsms2.rb in kotsms2-1.0.1

- old
+ new

@@ -15,11 +15,10 @@ @password = options.fetch(:password) { ENV.fetch('KOTSMS_PASSWORD') } end def account_is_available balance_info = get_balance - - ok = balance_info[:message_quota] > 0 && balance_info[:access_success] + balance_info[:message_quota] > 0 && balance_info[:access_success] end def send_message(options={}) options[:to] ||= nil options[:heavy_loading] ||= false