Class: Raven::Transports::Transport

Inherits:
Object
  • Object
show all
Defined in:
lib/raven/transports.rb

Direct Known Subclasses

HTTP, UDP

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(configuration) ⇒ Transport

Returns a new instance of Transport.



9
10
11
# File 'lib/raven/transports.rb', line 9

def initialize(configuration)
  @configuration = configuration
end

Instance Attribute Details

#configurationObject

Returns the value of attribute configuration.



7
8
9
# File 'lib/raven/transports.rb', line 7

def configuration
  @configuration
end

Instance Method Details

#send_eventObject

(auth_header, data, options = {})

Raises:

  • (NotImplementedError)


13
14
15
# File 'lib/raven/transports.rb', line 13

def send_event#(auth_header, data, options = {})
  raise NotImplementedError.new('Abstract method not implemented')
end