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.
8 9 10 |
# File 'lib/raven/transports.rb', line 8 def initialize(configuration) @configuration = configuration end |
Instance Attribute Details
#configuration ⇒ Object
Returns the value of attribute configuration.
6 7 8 |
# File 'lib/raven/transports.rb', line 6 def configuration @configuration end |
Instance Method Details
#send_event ⇒ Object
(auth_header, data, options = {})
12 13 14 |
# File 'lib/raven/transports.rb', line 12 def send_event #(auth_header, data, options = {}) raise NotImplementedError.new('Abstract method not implemented') end |