Sha256: 175ffa19077e6613ce83e79582cb255dbef4d65c4f1405b4cbcb0b923f2f2f9b
Contents?: true
Size: 439 Bytes
Versions: 39
Compression:
Stored size: 439 Bytes
Contents
# frozen_string_literal: true module ActionMailbox # See +ActionMailbox::Base+ for how to specify routing. module Routing extend ActiveSupport::Concern included do cattr_accessor :router, default: ActionMailbox::Router.new end class_methods do def routing(routes) router.add_routes(routes) end def route(inbound_email) router.route(inbound_email) end end end end
Version data entries
39 entries across 39 versions & 4 rubygems