Module: PortfolioManager::Services::BasicAccount::Accounts::Test
- Included in:
- PortfolioManager::Services::BasicAccount::All::Test
- Defined in:
- lib/portfolio_manager/services/basic_account.rb
Overview
Test Environment
Instance Method Summary collapse
-
#create_account(account) ⇒ PortfolioManager::Xml::ResponseType
Create Account.
Instance Method Details
#create_account(account) ⇒ PortfolioManager::Xml::ResponseType
Create Account
This web service creates an account for the purposes of offering data exchange web services. An account is created based on the information provided in the XML request. It returns the unique identifier to the newly created account and a link to the corresponding web service to retrieve it.
167 168 169 |
# File 'lib/portfolio_manager/services/basic_account.rb', line 167 def create_account(account) request(Net::HTTP::Post, path_for("account"), {}, {}, account, "account", PortfolioManager::Xml::ResponseType) end |