Class: Raven::Transports::Transport
- Inherits:
-
Object
- Object
- Raven::Transports::Transport
- Defined in:
- lib/raven/transports.rb
Instance Attribute Summary collapse
-
#configuration ⇒ Object
Returns the value of attribute configuration.
Instance Method Summary collapse
-
#initialize(configuration) ⇒ Transport
constructor
A new instance of Transport.
-
#send_event ⇒ Object
(auth_header, data, options = {}).
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
#configuration ⇒ Object
Returns the value of attribute configuration.
7 8 9 |
# File 'lib/raven/transports.rb', line 7 def configuration @configuration end |
Instance Method Details
#send_event ⇒ Object
(auth_header, data, options = {})
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 |