lib/smsc.rb in smsc-0.0.1 vs lib/smsc.rb in smsc-0.0.2

- old
+ new

@@ -13,10 +13,10 @@ @charset = charset end def message(message, phones) message = message - phones = phones.map { |p| p }.join(",") + phones = phones.join(",") Smsc::Sender.post('https://smsc.ru/sys/send.php', :query => { :login => login, :psw => password, :phones => phones, :mes => message, :charset => charset }) end end end