lib/pipekit/person_field.rb in pipekit-0.2.0 vs lib/pipekit/person_field.rb in pipekit-1.0.0
- old
+ new
@@ -1,15 +1,6 @@
module Pipekit
class PersonField
include Repository
-
- def get_by_id(id)
- request.get("/#{uri}").select { |element| element["id"] == id }
- end
-
- def get_by_key(key)
- custom_field_key = request.config["people_fields"][key] rescue nil
- key = custom_field_key || key
- request.get("/#{uri}").select { |element| element["key"] == key }
- end
+ include FieldRepository
end
end