Module: SteelWheel::Components::InstanceMethods

Defined in:
lib/steel_wheel/components.rb

Overview

rubocop:disable Style/Documentation

Instance Method Summary collapse

Instance Method Details

#form(attrs = form_attributes) ⇒ Object



45
46
47
# File 'lib/steel_wheel/components.rb', line 45

def form(attrs = form_attributes)
  @form ||= create_form(attrs)
end

#form_paramsObject



41
42
43
# File 'lib/steel_wheel/components.rb', line 41

def form_params
  @form_params ||= self.class.form_params_definition.new(form_input)
end

#url_paramsObject



37
38
39
# File 'lib/steel_wheel/components.rb', line 37

def url_params
  @url_params ||= self.class.url_params_definition.new(input)
end