Method: SimpleSpark::Endpoints::Subaccounts#list

Defined in:
lib/simple_spark/endpoints/subaccounts.rb

#listArray

Returns:

  • (Array)

    a list of Subaccount hash objects



16
17
18
# File 'lib/simple_spark/endpoints/subaccounts.rb', line 16

def list
  @client.call(method: :get, path: 'subaccounts')
end