Class: FundAmerica::EscrowAgreement
- Inherits:
-
Object
- Object
- FundAmerica::EscrowAgreement
- Defined in:
- lib/fund_america/escrow_agreement.rb
Class Method Summary collapse
-
.create(options) ⇒ Object
End point: apps.fundamerica.com/api/escrow_agreements (POST) Usage: FundAmerica::EscrowAgreement.create(options) Output: Creates a new escrow_agreement.
-
.details(escrow_agreement_id) ⇒ Object
End point: apps.fundamerica.com/api/escrow_agreements/:id (GET) Usage: FundAmerica::EscrowAgreement.details(escrow_agreement_id) Output: Returns the details of an escrow_agreement with matching id.
-
.list ⇒ Object
End point: apps.fundamerica.com/api/escrow_agreements (GET) Usage: FundAmerica::EscrowAgreement.list Output: Returns list of escrow_agreements.
Class Method Details
.create(options) ⇒ Object
End point: apps.fundamerica.com/api/escrow_agreements (POST) Usage: FundAmerica::EscrowAgreement.create(options) Output: Creates a new escrow_agreement
15 16 17 |
# File 'lib/fund_america/escrow_agreement.rb', line 15 def create() API::request(:post, 'escrow_agreements', ) end |
.details(escrow_agreement_id) ⇒ Object
End point: apps.fundamerica.com/api/escrow_agreements/:id (GET) Usage: FundAmerica::EscrowAgreement.details(escrow_agreement_id) Output: Returns the details of an escrow_agreement with matching id
22 23 24 |
# File 'lib/fund_america/escrow_agreement.rb', line 22 def details(escrow_agreement_id) API::request(:get, "escrow_agreements/#{escrow_agreement_id}") end |
.list ⇒ Object
End point: apps.fundamerica.com/api/escrow_agreements (GET) Usage: FundAmerica::EscrowAgreement.list Output: Returns list of escrow_agreements
8 9 10 |
# File 'lib/fund_america/escrow_agreement.rb', line 8 def list API::request(:get, 'escrow_agreements') end |