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

Parameters:

  • address (String)

Returns:

  • (AccountMetaData)

See Also:



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::AccountMetaData.build(res)
  end
end