lib/ig_markets/dealing_platform/account_methods.rb
# Returns all accounts associated with the current IG Markets login.
#
# @return [Array<Account>]
Returns all accounts associated with the current IG Markets login.
Returns all accounts associated with the current IG Markets login .
def all
        result = @dealing_platform.session.get('accounts').fetch :accounts
        @dealing_platform.instantiate_models Account, result
      end
def all result = @dealing_platform . session . get ( 'accounts' ) . fetch :accounts @dealing_platform . instantiate_models Account , result end
Returns all accounts associated with the current IG Markets login.
Returns all accounts associated with the current IG Markets login .
None
Array<Account>