Sha256: 56bc4efe156c4a07bc0934256f8cadfe3c96cc4885847e3ce2a8a90dd1a57367

Contents?: true

Size: 192 Bytes

Versions: 10

Compression:

Stored size: 192 Bytes

Contents

module Users
  class Customer < ApplicationRecord
    devise :database_authenticatable, :validatable

    include GraphqlDevise::Concerns::Model

    validates :name, presence: true
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
graphql_devise-0.12.3 spec/dummy/app/models/users/customer.rb
graphql_devise-0.12.2 spec/dummy/app/models/users/customer.rb
graphql_devise-0.12.1 spec/dummy/app/models/users/customer.rb
graphql_devise-0.12.0 spec/dummy/app/models/users/customer.rb
graphql_devise-0.11.4 spec/dummy/app/models/users/customer.rb
graphql_devise-0.11.3 spec/dummy/app/models/users/customer.rb
graphql_devise-0.11.2 spec/dummy/app/models/users/customer.rb
graphql_devise-0.11.1 spec/dummy/app/models/users/customer.rb
graphql_devise-0.11.0 spec/dummy/app/models/users/customer.rb
graphql_devise-0.10.1 spec/dummy/app/models/users/customer.rb