Module: Drip::Client::Forms
- Included in:
- Drip::Client
- Defined in:
- lib/drip/client/forms.rb
Instance Method Summary collapse
-
#form(id) ⇒ Object
Public: Fetch a form.
-
#forms ⇒ Object
Public: Fetch all forms.
Instance Method Details
#form(id) ⇒ Object
Public: Fetch a form.
id - Required. The String id of the form
Returns a Drip::Response. See www.getdrip.com/docs/rest-api#forms
20 21 22 |
# File 'lib/drip/client/forms.rb', line 20 def form(id) make_json_api_request :get, "v2/#{account_id}/forms/#{id}" end |
#forms ⇒ Object
Public: Fetch all forms.
Returns a Drip::Response. See www.getdrip.com/docs/rest-api#forms
10 11 12 |
# File 'lib/drip/client/forms.rb', line 10 def forms make_json_api_request :get, "v2/#{account_id}/forms" end |