Class: FundAmerica::BillingLog
- Inherits:
-
Object
- Object
- FundAmerica::BillingLog
- Defined in:
- lib/fund_america/billing_log.rb
Class Method Summary collapse
-
.details(billing_log_id) ⇒ Object
End point: apps.fundamerica.com/api/billing_logs/:id (GET) Usage: FundAmerica::BillingLog.details(billing_log_id) Output: Returns the details of an billing_log with matching id.
-
.list ⇒ Object
End point: apps.fundamerica.com/api/billing_logs (GET) Usage: FundAmerica::BillingLog.list Output: Returns list of billing_logs.
Class Method Details
.details(billing_log_id) ⇒ Object
End point: apps.fundamerica.com/api/billing_logs/:id (GET) Usage: FundAmerica::BillingLog.details(billing_log_id) Output: Returns the details of an billing_log with matching id
15 16 17 |
# File 'lib/fund_america/billing_log.rb', line 15 def details(billing_log_id) API::request(:get, "billing_logs/#{billing_log_id}") end |
.list ⇒ Object
End point: apps.fundamerica.com/api/billing_logs (GET) Usage: FundAmerica::BillingLog.list Output: Returns list of billing_logs
8 9 10 |
# File 'lib/fund_america/billing_log.rb', line 8 def list API::request(:get, 'billing_logs') end |