Class: Clicksign::Resources::Template

Inherits:
Clicksign::Resource show all
Defined in:
lib/clicksign/resources/template.rb

Instance Attribute Summary

Attributes inherited from Clicksign::Resource

#id, #relationships

Class Method Summary collapse

Methods inherited from Clicksign::Resource

#[], auto_paging_each, #base_path, client, create, #delete, each_page, fields, filter, filter_params, include, list, #method_missing, nested_list, order, page, per, #reload, #respond_to_missing?, retrieve, #update, validate_jsonapi_include_types!, with_includes

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Clicksign::Resource

Class Method Details

.list_template_fields(template_id) ⇒ Object



8
9
10
# File 'lib/clicksign/resources/template.rb', line 8

def self.list_template_fields(template_id)
  nested_list(template_id, nested_type: 'template_fields', as: TemplateField)
end