module Drip::Client::Forms

Public Instance Methods

form(id) click to toggle source

Public: Fetch a form.

id - Required. The String id of the form

Returns a Drip::Response. See www.getdrip.com/docs/rest-api#forms

# File lib/drip/client/forms.rb, line 20
def form(id)
  make_json_api_request :get, "v2/#{account_id}/forms/#{id}"
end
forms() click to toggle source

Public: Fetch all forms.

Returns a Drip::Response. See www.getdrip.com/docs/rest-api#forms

# File lib/drip/client/forms.rb, line 10
def forms
  make_json_api_request :get, "v2/#{account_id}/forms"
end