lib/zenvia/request.rb in zenvia-0.0.3 vs lib/zenvia/request.rb in zenvia-0.0.4
- old
+ new
@@ -26,15 +26,16 @@
{code: code, message: message}
end
def parse_params
{
- account: Zenvia.config.account,
- code: Zenvia.config.code,
- dispatch: params[:dispatch],
- to: params[:to],
- msg: params[:message],
- id: params[:id]
+ account: Zenvia.config.account,
+ code: Zenvia.config.code,
+ dispatch: params[:dispatch],
+ to: params[:to],
+ msg: params[:message],
+ id: params[:id],
+ callbackOption: params[:callback_option]
}
end
def session
@session ||= Patron::Session.new