esvapi: add empty lines between methods
This commit is contained in:
parent
3391c982b4
commit
29dd1304f6
1 changed files with 6 additions and 0 deletions
6
esvapi.d
6
esvapi.d
|
@ -218,18 +218,21 @@ class ESVApi
|
|||
final @property string
|
||||
key() const nothrow pure @nogc
|
||||
=> _key;
|
||||
|
||||
/++
|
||||
+ Returns the subdirectory used to store temporary audio passages.
|
||||
+/
|
||||
final @property string
|
||||
tmpDir() const nothrow pure @nogc
|
||||
=> _tmp;
|
||||
|
||||
/++
|
||||
+ Returns the API URL currently in use.
|
||||
+/
|
||||
final @property string
|
||||
url() const nothrow pure @nogc
|
||||
=> _url;
|
||||
|
||||
/++
|
||||
+ Sets the API URL currently in use to the given url argument.
|
||||
+/
|
||||
|
@ -291,6 +294,7 @@ class ESVApi
|
|||
|
||||
return response.parseJSON()["passages"][0].str;
|
||||
}
|
||||
|
||||
/++
|
||||
+ Requests an audio track of the verse(s) from the API and
|
||||
+ returns a file path containing an MP3 sound track.
|
||||
|
@ -313,6 +317,7 @@ class ESVApi
|
|||
|
||||
return _tmp;
|
||||
}
|
||||
|
||||
/++
|
||||
+ Requests a passage search for the given query.
|
||||
+ Returns a string containing JSON data representing
|
||||
|
@ -325,6 +330,7 @@ class ESVApi
|
|||
{
|
||||
return makeRequest("search/?q=" ~ query.tr(" ", "+"));
|
||||
}
|
||||
|
||||
/++
|
||||
+ Calls search() and formats the results nicely as plain text.
|
||||
+/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue