Sha256: 57cec1e1cf225c32ab70e6b04547076c7c224c1e78415a29edcdb2ead93907d8
Contents?: true
Size: 311 Bytes
Versions: 1
Compression:
Stored size: 311 Bytes
Contents
module Pipekit class User include Repository SINGULAR_CLASSNAME = "user".freeze PLURALIZED_CLASSNAME = "users".freeze def get_by_email(email) request.get('find', term: email, search_by_email: 1) end def get_by_name(name) request.get('find', term: name) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pipekit-2.1.1 | lib/pipekit/user.rb |