Sha256: 4ccf627379c59a9b4b55b8ba5e846da1fa82e84a2678935f98b998d7604d77b3
Contents?: true
Size: 430 Bytes
Versions: 10
Compression:
Stored size: 430 Bytes
Contents
# -*- encoding : utf-8 -*- #todo move to concern/model dir module RademadeAdmin module UserModule def self.get_by_email(email) raise NotImplementedError.new "Implement 'get_by_email' method" end def method_missing(name, *arguments) if %w(id email password valid_password? admin?).include? name raise NotImplementedError.new "Implement '#{name}' method" end super end end end
Version data entries
10 entries across 10 versions & 1 rubygems