Exception: BibleSearchError
- Inherits:
-
StandardError
- Object
- StandardError
- BibleSearchError
- Defined in:
- lib/biblesearch-api.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ BibleSearchError
constructor
A new instance of BibleSearchError.
Constructor Details
#initialize(data) ⇒ BibleSearchError
Returns a new instance of BibleSearchError.
20 21 22 23 |
# File 'lib/biblesearch-api.rb', line 20 def initialize(data) @data = data super end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
18 19 20 |
# File 'lib/biblesearch-api.rb', line 18 def data @data end |