Class: FundAmerica::SubscriptionAgreementTemplate
- Inherits:
-
Object
- Object
- FundAmerica::SubscriptionAgreementTemplate
- Defined in:
- lib/fund_america/subscription_agreement_template.rb
Class Method Summary collapse
-
.boilerplate_html ⇒ Object
Endpoint: apps.fundamerica.com/api/subscription_agreement_templates/boilerplate_html (GET) Usage: FundAmerica::SubscriptionAgreementTemplate.boilerplate_html Output: Returns boiler plate html.
-
.create(options) ⇒ Object
End point: apps.fundamerica.com/api/subscription_agreement_templates (POST) Usage: FundAmerica::SubscriptionAgreementTemplate.create(options) Output: Creates a new subscription_agreement_template.
-
.delete(subscription_agreement_template_id) ⇒ Object
End point: apps.fundamerica.com/api/subscription_agreement_templates/:id (DELETE) Usage: FundAmerica::SubscriptionAgreementTemplate.delete(subscription_agreement_template_id) Output: Deletes an subscription_agreement_template with matching id.
-
.details(subscription_agreement_template_id) ⇒ Object
End point: apps.fundamerica.com/api/subscription_agreement_templates/:id (GET) Usage: FundAmerica::SubscriptionAgreementTemplate.details(subscription_agreement_template_id) Output: Returns the details of an subscription_agreement_template with matching id.
-
.list ⇒ Object
End point: apps.fundamerica.com/api/subscription_agreement_templates (GET) Usage: FundAmerica::SubscriptionAgreementTemplate.list Output: Returns list of subscription_agreement_templates.
-
.update(subscription_agreement_template_id, options) ⇒ Object
End point: apps.fundamerica.com/api/subscription_agreement_templates/:id (PATCH) Usage: FundAmerica::SubscriptionAgreementTemplate.update(subscription_agreement_template_id, options) Output: Updates an subscription_agreement_template.
Class Method Details
.boilerplate_html ⇒ Object
Endpoint: apps.fundamerica.com/api/subscription_agreement_templates/boilerplate_html (GET) Usage: FundAmerica::SubscriptionAgreementTemplate.boilerplate_html Output: Returns boiler plate html
43 44 45 |
# File 'lib/fund_america/subscription_agreement_template.rb', line 43 def boilerplate_html API::request(:get, 'subscription_agreement_templates/boilerplate_html') end |
.create(options) ⇒ Object
End point: apps.fundamerica.com/api/subscription_agreement_templates (POST) Usage: FundAmerica::SubscriptionAgreementTemplate.create(options) Output: Creates a new subscription_agreement_template
15 16 17 |
# File 'lib/fund_america/subscription_agreement_template.rb', line 15 def create() API::request(:post, 'subscription_agreement_templates', ) end |
.delete(subscription_agreement_template_id) ⇒ Object
End point: apps.fundamerica.com/api/subscription_agreement_templates/:id (DELETE) Usage: FundAmerica::SubscriptionAgreementTemplate.delete(subscription_agreement_template_id) Output: Deletes an subscription_agreement_template with matching id
36 37 38 |
# File 'lib/fund_america/subscription_agreement_template.rb', line 36 def delete(subscription_agreement_template_id) API::request(:delete, "subscription_agreement_templates/#{subscription_agreement_template_id}") end |
.details(subscription_agreement_template_id) ⇒ Object
End point: apps.fundamerica.com/api/subscription_agreement_templates/:id (GET) Usage: FundAmerica::SubscriptionAgreementTemplate.details(subscription_agreement_template_id) Output: Returns the details of an subscription_agreement_template with matching id
29 30 31 |
# File 'lib/fund_america/subscription_agreement_template.rb', line 29 def details(subscription_agreement_template_id) API::request(:get, "subscription_agreement_templates/#{subscription_agreement_template_id}") end |
.list ⇒ Object
End point: apps.fundamerica.com/api/subscription_agreement_templates (GET) Usage: FundAmerica::SubscriptionAgreementTemplate.list Output: Returns list of subscription_agreement_templates
8 9 10 |
# File 'lib/fund_america/subscription_agreement_template.rb', line 8 def list API::request(:get, 'subscription_agreement_templates') end |
.update(subscription_agreement_template_id, options) ⇒ Object
End point: apps.fundamerica.com/api/subscription_agreement_templates/:id (PATCH) Usage: FundAmerica::SubscriptionAgreementTemplate.update(subscription_agreement_template_id, options) Output: Updates an subscription_agreement_template
22 23 24 |
# File 'lib/fund_america/subscription_agreement_template.rb', line 22 def update(subscription_agreement_template_id, ) API::request(:patch, "subscription_agreement_templates/#{subscription_agreement_template_id}", ) end |