Class: Raven::Transports::Dummy

Inherits:
Transport show all
Defined in:
lib/raven/transports/dummy.rb

Instance Attribute Summary collapse

Attributes inherited from Transport

#configuration

Instance Method Summary collapse

Constructor Details

#initializeDummy

Returns a new instance of Dummy.



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

def initialize(*)
  super
  @events = []
end

Instance Attribute Details

#eventsObject

Returns the value of attribute events.



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

def events
  @events
end

Instance Method Details

#send_event(auth_header, data, options = {}) ⇒ Object



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

def send_event(auth_header, data, options = {})
  @events << [auth_header, data, options]
end