Class: Votd::ESVBible Deprecated

Inherits:
Object
  • Object
show all
Defined in:
lib/votd/esvbible.rb

Overview

Deprecated.

Use BibleGateway with the :esv version instead. The gnpcb.org RSS endpoint used by this class was shut down. The ESV API (https://api.esv.org/) requires an API key and does not provide a verse-of-the-day endpoint.

Examples:

Replacement usage

votd = Votd::BibleGateway.new(:esv)

Instance Method Summary collapse

Constructor Details

#initializeESVBible

Returns a new instance of ESVBible.

Raises:

  • (VotdError)

    always; this class is no longer supported



13
14
15
16
17
# File 'lib/votd/esvbible.rb', line 13

def initialize
  raise Votd::VotdError, "Votd::ESVBible is no longer supported. " \
    "The gnpcb.org endpoint has been shut down. " \
    "Use Votd::BibleGateway.new(:esv) for an ESV verse of the day."
end