Class: FundAmerica::EmailLog

Inherits:
Object
  • Object
show all
Defined in:
lib/fund_america/email_log.rb

Class Method Summary collapse

Class Method Details

.details(email_log_id) ⇒ Object

End point: apps.fundamerica.com/api/email_logs/:id (GET) Usage: FundAmerica::EmailLog.details(email_log_id) Output: Returns the details of an email_log with matching id



15
16
17
# File 'lib/fund_america/email_log.rb', line 15

def details(email_log_id)
  API::request(:get, "email_logs/#{email_log_id}")
end

.listObject

End point: apps.fundamerica.com/api/email_logs (GET) Usage: FundAmerica::EmailLog.list Output: Returns list of email_logs



8
9
10
# File 'lib/fund_america/email_log.rb', line 8

def list
  API::request(:get, 'email_logs')
end