Sha256: 28f1a2cf32226b0536df1e27ae2c131b9c4536edbe0f5b7266aa6b5be6d4ec04

Contents?: true

Size: 248 Bytes

Versions: 1

Compression:

Stored size: 248 Bytes

Contents

module Pipekit
  class Person
    include Repository

    def get_by_email(email)
      request.get("/#{uri}/find", term: email, search_by_email: 1)
    end

    def get_by_name(name)
      request.get("/#{uri}/find", term: name)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pipekit-0.2.0 lib/pipekit/person.rb