forked from jasder/forgeplus
8 lines
200 B
Ruby
8 lines
200 B
Ruby
|
class Users::BindEmailForm
|
||
|
include ActiveModel::Model
|
||
|
|
||
|
attr_accessor :email, :code
|
||
|
|
||
|
validates :email, presence: true#, format: { with: CustomRegexp::EMAIL }
|
||
|
validates :code, presence: true
|
||
|
end
|