module MagicPipe::Senders
Public Class Methods
lookup(type)
click to toggle source
# File lib/magic_pipe/senders.rb, line 3 def self.lookup(type) case type when :sync then Sync when :async then Async when Class then type else raise ConfigurationError, "Unknown MagicPipe::Senders type: '#{type}'." end end