Method: Figo#get_security

Defined in:
lib/security/api_call.rb

#get_security(account_id, security_id) ⇒ Security

Retrieve a security.

Parameters:

  • account_id (String)
    • ID of the account the security belongs to

  • security_id (String)
    • ID of the security to retrieve

Returns:

  • (Security)
    • A single security object.



10
11
12
# File 'lib/security/api_call.rb', line 10

def get_security(, security_id)
  query_api_object Security, "/rest/accounts/" +  + "/securities/" + security_id, nil, "GET", nil
end