Class: FundAmerica::EscrowServiceApplication
- Inherits:
-
Object
- Object
- FundAmerica::EscrowServiceApplication
- Defined in:
- lib/fund_america/escrow_service_application.rb
Class Method Summary collapse
-
.create(options) ⇒ Object
End point: apps.fundamerica.com/api/escrow_service_applications (POST) Usage: FundAmerica::EscrowServiceApplication.create(options) Output: Creates a new escrow_service_application.
-
.details(escrow_service_application_id) ⇒ Object
End point: apps.fundamerica.com/api/escrow_service_applications/:id (GET) Usage: FundAmerica::EscrowServiceApplication.details(escrow_service_application_id) Output: Returns the details of an escrow_service_application with matching id.
-
.list ⇒ Object
End point: apps.fundamerica.com/api/escrow_service_applications (GET) Usage: FundAmerica::EscrowServiceApplication.list Output: Returns list of escrow_service_applications.
-
.update(escrow_service_application_id, options) ⇒ Object
End point: sandbox.fundamerica.com/api/test_mode/escrow_service_applications/:id (PATCH) Usage: FundAmerica::EscrowServiceApplication.update(escrow_service_application_id, options) Output: Updates the escrow service application with matching id Important: Sandbox only method.
Class Method Details
.create(options) ⇒ Object
End point: apps.fundamerica.com/api/escrow_service_applications (POST) Usage: FundAmerica::EscrowServiceApplication.create(options) Output: Creates a new escrow_service_application
15 16 17 |
# File 'lib/fund_america/escrow_service_application.rb', line 15 def create() API::request(:post, 'escrow_service_applications', ) end |
.details(escrow_service_application_id) ⇒ Object
End point: apps.fundamerica.com/api/escrow_service_applications/:id (GET) Usage: FundAmerica::EscrowServiceApplication.details(escrow_service_application_id) Output: Returns the details of an escrow_service_application with matching id
30 31 32 |
# File 'lib/fund_america/escrow_service_application.rb', line 30 def details(escrow_service_application_id) API::request(:get, "escrow_service_applications/#{escrow_service_application_id}") end |
.list ⇒ Object
End point: apps.fundamerica.com/api/escrow_service_applications (GET) Usage: FundAmerica::EscrowServiceApplication.list Output: Returns list of escrow_service_applications
8 9 10 |
# File 'lib/fund_america/escrow_service_application.rb', line 8 def list API::request(:get, 'escrow_service_applications') end |
.update(escrow_service_application_id, options) ⇒ Object
End point: sandbox.fundamerica.com/api/test_mode/escrow_service_applications/:id (PATCH) Usage: FundAmerica::EscrowServiceApplication.update(escrow_service_application_id, options) Output: Updates the escrow service application with matching id Important: Sandbox only method
23 24 25 |
# File 'lib/fund_america/escrow_service_application.rb', line 23 def update(escrow_service_application_id, ) API::request(:patch, "https://sandbox.fundamerica.com/api/test_mode/escrow_service_applications/#{escrow_service_application_id}", ) end |