Class: FundAmerica::AmlException
- Inherits:
-
Object
- Object
- FundAmerica::AmlException
- Defined in:
- lib/fund_america/aml_exception.rb
Class Method Summary collapse
-
.details(aml_exception_id) ⇒ Object
End point: apps.fundamerica.com/api/aml_exceptions/:id (GET) Usage: FundAmerica::AmlException.details(aml_exception_id) Output: Returns the details of an aml_exception with matching id.
-
.list ⇒ Object
End point: apps.fundamerica.com/api/aml_exceptions (GET) Usage: FundAmerica::AmlException.list Output: Returns list of aml_exceptions.
-
.update(aml_exception_id, options) ⇒ Object
End point: sandbox.fundamerica.com/api/test_mode/aml_exceptions/:id (PATCH) Usage: FundAmerica::AmlException.update(aml_exception_id) Output: Updates an aml exception in test mode Important: This works only for Sandbox mode.
Class Method Details
.details(aml_exception_id) ⇒ Object
End point: apps.fundamerica.com/api/aml_exceptions/:id (GET) Usage: FundAmerica::AmlException.details(aml_exception_id) Output: Returns the details of an aml_exception with matching id
15 16 17 |
# File 'lib/fund_america/aml_exception.rb', line 15 def details(aml_exception_id) API::request(:get, FundAmerica.base_uri + "aml_exceptions/#{aml_exception_id}") end |
.list ⇒ Object
End point: apps.fundamerica.com/api/aml_exceptions (GET) Usage: FundAmerica::AmlException.list Output: Returns list of aml_exceptions
8 9 10 |
# File 'lib/fund_america/aml_exception.rb', line 8 def list API::request(:get, FundAmerica.base_uri + 'aml_exceptions') end |
.update(aml_exception_id, options) ⇒ Object
End point: sandbox.fundamerica.com/api/test_mode/aml_exceptions/:id (PATCH) Usage: FundAmerica::AmlException.update(aml_exception_id) Output: Updates an aml exception in test mode Important: This works only for Sandbox mode
23 24 25 |
# File 'lib/fund_america/aml_exception.rb', line 23 def update(aml_exception_id, ) API::request(:patch, FundAmerica.base_uri + "test_mode/aml_exceptions/#{aml_exception_id}", ) end |