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.



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

def initialize(configuration)
  @configuration = configuration
end

Instance Attribute Details

#configurationObject

Returns the value of attribute configuration.



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

def configuration
  @configuration
end

Instance Method Details

#send_eventObject

(auth_header, data, options = {})

Raises:

  • (NotImplementedError)


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

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