Class: Raven::Transports::Dummy
- Defined in:
- lib/raven/transports/dummy.rb
Instance Attribute Summary collapse
-
#events ⇒ Object
Returns the value of attribute events.
Attributes inherited from Transport
Instance Method Summary collapse
-
#initialize ⇒ Dummy
constructor
A new instance of Dummy.
- #send_event(auth_header, data, options = {}) ⇒ Object
Constructor Details
#initialize ⇒ Dummy
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
#events ⇒ Object
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, = {}) @events << [auth_header, data, ] end |