mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +02:00
REPP: Update ApiDoc
This commit is contained in:
parent
fda58e9a41
commit
454433cf10
8 changed files with 67 additions and 24 deletions
|
@ -1,6 +1,9 @@
|
|||
module Repp
|
||||
module V1
|
||||
class AccountsController < BaseController
|
||||
|
||||
api :GET, '/repp/v1/accounts/balance'
|
||||
desc "Get account's balance"
|
||||
def balance
|
||||
resp = { balance: current_user.registrar.cash_account.balance,
|
||||
currency: current_user.registrar.cash_account.currency }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue