lib/sms_notify/api.rb in cdyne-sms-notify-1.0.0 vs lib/sms_notify/api.rb in cdyne-sms-notify-1.0.1

- old
+ new

@@ -82,10 +82,10 @@ result = soap_driver.sendSMSAdvanced( :Request => { :PhoneNumber => phone_number, :Message => message, :Licensekey => license_key, :ScheduledTime => opts[:deliver_at].utc.xmlschema(2), - :Response => opts[:enable_responses], + :Response => opts[:enable_responses] ? 1 : 0, :ResponsePostURL => opts[:status_post_url] } ) MessageStatus.new(Response.parse(result)) end