    def get(id)
      result = JSON.parse(get_cp.where({id: id, type: self.to_s.upcase}))
      if result["found"].to_i > 0
        self.from_hash(result["documents"][0], self)
      else
        raise RecordNotFound
      end
    end