-
-
Save ngw/f8ef003532c8d712dd9b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; src/theshire/models/element.clj | |
(ns theshire.models.element | |
(:require [clojurewerkz.welle.core :as wc] | |
[clojurewerkz.welle.buckets :as wb] | |
[clojurewerkz.welle.kv :as kv]) | |
(use '[ring.util.codec :only [url-encode]])) | |
(defn create [{url :url vals :vals}] | |
(kv/store "elements" (url-encode url) vals :content-type "application/clojure")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment