Exception: Pairity::KeyNotConfigured
- Inherits:
-
StandardError
- Object
- StandardError
- Pairity::KeyNotConfigured
- Defined in:
- lib/pairity.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ KeyNotConfigured
constructor
A new instance of KeyNotConfigured.
- #message ⇒ Object
Constructor Details
#initialize(name) ⇒ KeyNotConfigured
Returns a new instance of KeyNotConfigured.
7 8 9 |
# File 'lib/pairity.rb', line 7 def initialize(name) self.name = name end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/pairity.rb', line 5 def name @name end |
Instance Method Details
#message ⇒ Object
11 12 13 |
# File 'lib/pairity.rb', line 11 def "Could not find a file or env var for #{name}" end |