Sha256: a4c316e9c38d84eb9bb340dd9f587be09bfac4909f5eadd0dad9f614571e5bf2

Contents?: true

Size: 230 Bytes

Versions: 1

Compression:

Stored size: 230 Bytes

Contents

module Pipekit
  class User
    include Repository

    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.0.0 lib/pipekit/user.rb