Exception: BibleSearchError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/biblesearch-api.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dataObject (readonly)

Returns the value of attribute data.



18
19
20
# File 'lib/biblesearch-api.rb', line 18

def data
  @data
end