Class: Raven::Transports::Transport

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

Direct Known Subclasses

Dummy, HTTP

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(configuration) ⇒ Transport

Returns a new instance of Transport.



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

def initialize(configuration)
  @configuration = configuration
end

Instance Attribute Details

#configurationObject

Returns the value of attribute configuration.



4
5
6
# File 'lib/raven/transports.rb', line 4

def configuration
  @configuration
end

Instance Method Details

#send_eventObject

(auth_header, data, options = {})

Raises:

  • (NotImplementedError)


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

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