esvapi: add empty lines between methods

This commit is contained in:
Jeremy Baxter 2024-06-19 12:27:16 +12:00
parent 3391c982b4
commit 29dd1304f6

View file

@ -218,18 +218,21 @@ class ESVApi
final @property string final @property string
key() const nothrow pure @nogc key() const nothrow pure @nogc
=> _key; => _key;
/++ /++
+ Returns the subdirectory used to store temporary audio passages. + Returns the subdirectory used to store temporary audio passages.
+/ +/
final @property string final @property string
tmpDir() const nothrow pure @nogc tmpDir() const nothrow pure @nogc
=> _tmp; => _tmp;
/++ /++
+ Returns the API URL currently in use. + Returns the API URL currently in use.
+/ +/
final @property string final @property string
url() const nothrow pure @nogc url() const nothrow pure @nogc
=> _url; => _url;
/++ /++
+ Sets the API URL currently in use to the given url argument. + Sets the API URL currently in use to the given url argument.
+/ +/
@ -291,6 +294,7 @@ class ESVApi
return response.parseJSON()["passages"][0].str; return response.parseJSON()["passages"][0].str;
} }
/++ /++
+ Requests an audio track of the verse(s) from the API and + Requests an audio track of the verse(s) from the API and
+ returns a file path containing an MP3 sound track. + returns a file path containing an MP3 sound track.
@ -313,6 +317,7 @@ class ESVApi
return _tmp; return _tmp;
} }
/++ /++
+ Requests a passage search for the given query. + Requests a passage search for the given query.
+ Returns a string containing JSON data representing + Returns a string containing JSON data representing
@ -325,6 +330,7 @@ class ESVApi
{ {
return makeRequest("search/?q=" ~ query.tr(" ", "+")); return makeRequest("search/?q=" ~ query.tr(" ", "+"));
} }
/++ /++
+ Calls search() and formats the results nicely as plain text. + Calls search() and formats the results nicely as plain text.
+/ +/