Sha256: ffcfbd752f76700368504c03a2dd873ce625577b0a10b7c1b7c1dd6334034cce

Contents?: true

Size: 248 Bytes

Versions: 10

Compression:

Stored size: 248 Bytes

Contents

require 'virtus'

class Roqua::CoreApi::Models::Credential < Roqua::CoreApi::Models::ActiveVirtus
  attribute :id, String
  attribute :username
  attribute :password
  attribute :password_confirmation

  validates :password, confirmation: true
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
roqua-core-api-0.7.0 lib/roqua/core_api/models/credential.rb
roqua-core-api-0.6.0 lib/roqua/core_api/models/credential.rb
roqua-core-api-0.5.0 lib/roqua/core_api/models/credential.rb
roqua-core-api-0.4.0 lib/roqua/core_api/models/credential.rb
roqua-core-api-0.3.1 lib/roqua/core_api/models/credential.rb
roqua-core-api-0.3.0 lib/roqua/core_api/models/credential.rb
roqua-core-api-0.2.4 lib/roqua/core_api/models/credential.rb
roqua-core-api-0.2.3 lib/roqua/core_api/models/credential.rb
roqua-core-api-0.2.2 lib/roqua/core_api/models/credential.rb
roqua-core-api-0.2.1 lib/roqua/core_api/models/credential.rb