Sha256: 1ddc5524384cb38676eb902c766e7d553ab856ff2ef783c4f8589797495e5b40
Contents?: true
Size: 339 Bytes
Versions: 7
Compression:
Stored size: 339 Bytes
Contents
class User < ApiClient::Base 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