Module: Nis::Endpoint::Account::Importances

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

Instance Method Summary collapse

Instance Method Details

#account_importancesArray <Nis::Struct::AccountImportanceViewModel>


5
6
7
8
9
# File 'lib/nis/endpoint/account/importances.rb', line 5

def 
  request!(:get, '/account/importances') do |res|
    res[:data].map { |aivm| Nis::Struct::AccountImportanceViewModel.build(aivm) }
  end
end