Exception: Branchbot::Adapters::UnsupportedDatabase
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Branchbot::Adapters::UnsupportedDatabase
- Defined in:
- lib/branchbot/adapters/unsupported_database.rb
Instance Attribute Summary collapse
-
#adapter ⇒ Object
readonly
Returns the value of attribute adapter.
Instance Method Summary collapse
-
#initialize(adapter) ⇒ UnsupportedDatabase
constructor
A new instance of UnsupportedDatabase.
- #message ⇒ Object
Constructor Details
#initialize(adapter) ⇒ UnsupportedDatabase
Returns a new instance of UnsupportedDatabase.
7 8 9 |
# File 'lib/branchbot/adapters/unsupported_database.rb', line 7 def initialize(adapter) @adapter = adapter end |
Instance Attribute Details
#adapter ⇒ Object (readonly)
Returns the value of attribute adapter.
5 6 7 |
# File 'lib/branchbot/adapters/unsupported_database.rb', line 5 def adapter @adapter end |
Instance Method Details
#message ⇒ Object
11 12 13 |
# File 'lib/branchbot/adapters/unsupported_database.rb', line 11 def "Adapter `#{adapter}` is not supported." end |