Sha256: 9b0e76126ce771e0a724139ef7c6fdd4039484da0f78fda47308b38e4d5c2d0e

Contents?: true

Size: 398 Bytes

Versions: 11

Compression:

Stored size: 398 Bytes

Contents

class Tramway::User::UserForm < ::Tramway::Core::ApplicationForm
  properties :email, :password, :first_name, :last_name, :role

  def initialize(object)
    super(object).tap do
      form_properties email: :string,
                      password: :string,
                      first_name: :string,
                      last_name: :string,
                      role: :default
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
tramway-user-2.0 app/forms/tramway/user/user_form.rb
tramway-user-1.1.8 app/forms/tramway/user/user_form.rb
tramway-user-1.1.7 app/forms/tramway/user/user_form.rb
tramway-user-1.1.6 app/forms/tramway/user/user_form.rb
tramway-user-1.1.5 app/forms/tramway/user/user_form.rb
tramway-user-1.1.4.1 app/forms/tramway/user/user_form.rb
tramway-user-1.1.4 app/forms/tramway/user/user_form.rb
tramway-user-1.1.3 app/forms/tramway/user/user_form.rb
tramway-user-1.1.2 app/forms/tramway/user/user_form.rb
tramway-user-1.1.1 app/forms/tramway/user/user_form.rb
tramway-user-1.1 app/forms/tramway/user/user_form.rb