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
18 19 20 |
# File 'lib/drip/client/forms.rb', line 18 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
8 9 10 |
# File 'lib/drip/client/forms.rb', line 8 def forms make_json_api_request :get, "v2/#{account_id}/forms" end |