Sha256: 91d3ed794f5e455be860968da70eac17f0c97e436a3b049a1fd110b4a5d084bc

Contents?: true

Size: 333 Bytes

Versions: 20

Compression:

Stored size: 333 Bytes

Contents

module Tramway::Core
  class ApplicationForm < ::Reform::Form
    def submit(params)
      raise 'ApplicationForm::Params should not be nil'.inspect unless params
      save if validate params
    end

    def form_properties(**args)
      @form_properties = args
    end

    def properties
      @form_properties
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
tramway-core-1.4.1 app/forms/tramway/core/application_form.rb
tramway-core-1.4 app/forms/tramway/core/application_form.rb
tramway-core-1.3.1 app/forms/tramway/core/application_form.rb
tramway-core-1.3 app/forms/tramway/core/application_form.rb
tramway-core-1.2.1 app/forms/tramway/core/application_form.rb
tramway-core-1.2.0 app/forms/tramway/core/application_form.rb
tramway-core-1.1.0 app/forms/tramway/core/application_form.rb
tramway-core-1.0.6 app/forms/tramway/core/application_form.rb
tramway-core-1.0.5 app/forms/tramway/core/application_form.rb
tramway-core-1.0.4 app/forms/tramway/core/application_form.rb
tramway-core-1.0.3 app/forms/tramway/core/application_form.rb
tramway-core-1.0.2 app/forms/tramway/core/application_form.rb
tramway-core-1.0.1.5 app/forms/tramway/core/application_form.rb
tramway-core-1.0.1.4 app/forms/tramway/core/application_form.rb
tramway-core-1.0.1.3 app/forms/tramway/core/application_form.rb
tramway-core-1.0.1.2 app/forms/tramway/core/application_form.rb
tramway-core-1.0.1.1 app/forms/tramway/core/application_form.rb
tramway-core-1.0.1 app/forms/tramway/core/application_form.rb
tramway-core-1.0 app/forms/tramway/core/application_form.rb
tramway-core-0.2 app/forms/tramway/core/application_form.rb