Method: Raven::Client#transport
- Defined in:
- lib/raven/client.rb
#transport ⇒ Object
48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/raven/client.rb', line 48 def transport @transport ||= case configuration.scheme when 'http', 'https' Transports::HTTP.new(configuration) when 'dummy' Transports::Dummy.new(configuration) else fail "Unknown transport scheme '#{configuration.scheme}'" end end |