Module: Nis::Endpoint::Account::Status

Included in:
Nis
Defined in:
lib/nis/endpoint/account/status.rb

Instance Method Summary collapse

Instance Method Details

#account_status(address:) ⇒ AccountMetaData


6
7
8
9
10
11
12
# File 'lib/nis/endpoint/account/status.rb', line 6

def (address:)
  request!(:get, '/account/status',
    address: address
  ) do |res|
    Nis::Struct::.build(res)
  end
end