Sha256: 63b0b76817e48c6dea10cfb66d113772d328ff3063c47d440c8f42eec6dbad9d
Contents?: true
Size: 370 Bytes
Versions: 7
Compression:
Stored size: 370 Bytes
Contents
class Admin < ApiClient::Base self.remote_object = "user" self.association = { :groups => "Group" } # Any of this fields can be called to manage rails form. attr_accessor :id, :email, :password, :password_confirmation # Validations will work as well validates :email, :presence => true, :uniqueness => true validates :password, :confirmation => true end
Version data entries
7 entries across 7 versions & 1 rubygems