Class: Votd::NetBible
Overview
Retrieves a Verse of the Day from bible.org using the NETBible translation.
Constant Summary collapse
- BIBLE_VERSION =
The name of the Bible Translation that this module generates
'NETBible'
- BIBLE_VERSION_NAME =
'NET Bible'
- URI =
The URI of the API gateway
"http://labs.bible.org/api/?passage=votd&type=json"
- NET_BIBLE_URI =
The URI of the website to view the verse (used in “.link“)
"https://netbible.org/bible"
Constants inherited from Base
Base::DEFAULT_BIBLE_REFERENCE, Base::DEFAULT_BIBLE_TEXT, Base::DEFAULT_BIBLE_VERSION, Base::DEFAULT_BIBLE_VERSION_NAME, Base::DEFAULT_LINK
Instance Attribute Summary
Attributes inherited from Base
#copyright, #date, #link, #reference, #text, #version, #version_name
Instance Method Summary collapse
-
#initialize ⇒ Votd::NetBible
constructor
Initializes the NetBible class.
Methods inherited from Base
#custom_html, #custom_text, #to_html, #to_text
Constructor Details
permalink #initialize ⇒ Votd::NetBible
Initializes the NetBible class
19 20 21 |
# File 'lib/votd/netbible.rb', line 19 def initialize super end |