lib/sms_notify/api.rb in cdyne-sms-notify-1.0.3 vs lib/sms_notify/api.rb in cdyne-sms-notify-1.0.4
- old
+ new
@@ -46,10 +46,10 @@
def send_message(phone_number, message)
command = Command.new('SendSMSBasic', license_key)
MessageStatus.new(
Response.parse(
command.execute({:PhoneNumber => phone_number, :Message => message})
- )[:sms_return]
+ )["SmsReturn"]
)
end
# Implements +SendSMSAdvanced+[http://ws.cdyne.com/SmsWS/SMS.asmx?op=SendSMSAdvanced].
#