lib/zenvia/sms.rb in zenvia-0.0.3 vs lib/zenvia/sms.rb in zenvia-0.0.4
- old
+ new
@@ -16,14 +16,14 @@
private
def post_params
{
- to: to,
- message: message,
- dispatch: dispatch,
- id: message_id,
- callbackOption: callback_option
+ to: to,
+ message: message,
+ dispatch: dispatch,
+ id: message_id,
+ callback_option: callback_option
}.delete_if { |k,v| v.nil? }
end
def request
@request ||= Request.new