Class: Ribbit::Adapters::Adapter
- Inherits:
-
Object
- Object
- Ribbit::Adapters::Adapter
- Defined in:
- lib/ribbit/adapters/adapter.rb
Instance Attribute Summary collapse
-
#configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Instance Method Summary collapse
-
#activate! ⇒ Object
This should perform the steps to integrate hoptoad catching into the framework.
-
#initialize(config) ⇒ Adapter
constructor
A new instance of Adapter.
-
#logger ⇒ Object
This should provide something that implements the logger interface.
Constructor Details
#initialize(config) ⇒ Adapter
Returns a new instance of Adapter.
13 14 15 |
# File 'lib/ribbit/adapters/adapter.rb', line 13 def initialize(config) self.configuration = config end |
Instance Attribute Details
#configuration ⇒ Object
Returns the value of attribute configuration.
5 6 7 |
# File 'lib/ribbit/adapters/adapter.rb', line 5 def configuration @configuration end |
Class Method Details
.inherited(klass) ⇒ Object
8 9 10 |
# File 'lib/ribbit/adapters/adapter.rb', line 8 def inherited(klass) Ribbit::Adapters.add_adapter klass end |
Instance Method Details
#activate! ⇒ Object
This should perform the steps to integrate hoptoad catching into the framework
23 24 25 |
# File 'lib/ribbit/adapters/adapter.rb', line 23 def activate! raise NotImplementedError end |
#logger ⇒ Object
This should provide something that implements the logger interface
18 19 20 |
# File 'lib/ribbit/adapters/adapter.rb', line 18 def logger raise NotImplementedError end |