Sha256: 4dcc056c206a510a69ce830996a3eaff35b6d03cceb8fdfe6808730a0d91d1f7

Contents?: true

Size: 112 Bytes

Versions: 2

Compression:

Stored size: 112 Bytes

Contents

class UserParams
  include ROM::Model::Params

  attribute :name, String

  validates :name, presence: true
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rom-rails-0.2.1 spec/dummy/app/params/user_params.rb
rom-rails-0.2.0 spec/dummy/app/params/user_params.rb