Method: Unit::ApplicationForm.list_application_forms

Defined in:
lib/unit/models/application_form/application_form.rb

.list_application_forms(limit: APPLICATION_FORM_LIST_LIMIT, offset: APPLICATION_FORM_LIST_OFFSET, tags: nil, sort: nil) ⇒ Object

List application forms by calling Unit’s API

Parameters:

  • limit (Integer) (defaults to: APPLICATION_FORM_LIST_LIMIT)
    • optional

  • offset (Integer) (defaults to: APPLICATION_FORM_LIST_OFFSET)
    • optional

  • tags (Hash) (defaults to: nil)
    • optional

  • sort (String) (defaults to: nil)
    • optional

See Also:



37
38
39
40
# File 'lib/unit/models/application_form/application_form.rb', line 37

def list_application_forms(limit: APPLICATION_FORM_LIST_LIMIT, offset: APPLICATION_FORM_LIST_OFFSET, tags: nil, sort: nil)
  request = Unit::ApplicationForm::ListApplicationFormParams.new(limit, offset, tags, sort)
  Unit::Resource::ApplicationFormResource.list_application_forms(request)
end