Skip to content

Commit

Permalink
Add getNodeInfo method to Arionum
Browse files Browse the repository at this point in the history
  • Loading branch information
owenvoke committed Oct 12, 2018
1 parent 5bbfb09 commit f212124
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Arionum.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,18 @@ class Arionum {
})
}

/**
* Retrieve details about the node.
*
* @return Promise
*/
getNodeInfo () {
return this
.getJson({
q: 'node-info'
})
}

/**
* @returns void
*/
Expand Down

0 comments on commit f212124

Please sign in to comment.