lib/action_texter/delivery_methods.rb in action-texter-0.1.2.ALPHA vs lib/action_texter/delivery_methods.rb in action-texter-0.2.0.pre
- old
+ new
@@ -21,9 +21,10 @@
# add_delivery_method :file, ActionTexter::FileDelivery,
#:location => defined?(Rails.root) ? "#{Rails.root}/tmp/texts" : "#{Dir.tmpdir}/texts"
add_delivery_method :test, ActionTexter::Provider::TestMessage::Delivery
add_delivery_method :messagebird, ActionTexter::Provider::Messagebird::Delivery, { endpoint: 'https://rest.messagebird.com', path: '/messages' }
+ add_delivery_method :mail, ActionTexter::Provider::Mail::Delivery, { charset: 'utf8' }
# add_delivery_method :twilio, ActionTexter::TwilioDelivery
# add_delivery_method :whitelist_proxy, ActionTexter::WhitelistProxyDelivery
end
end