File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ This will generate the following functions:
45
45
46
46
| Function Name | Arguments | Description |
47
47
| ---------------| -----------| -------------|
48
- | ` get-profile-object ` | (&key ` query ` ) | Retrieve the profile object. |
48
+ | ` get-profile ` | (&key ` query ` ) | Retrieve the profile object. |
49
49
| ` update-profile ` | (` content ` ) | Update the content of the profile object. |
50
50
51
51
### 📄 License
Original file line number Diff line number Diff line change 99
99
100
100
(defmacro define-object-client (endpoint)
101
101
(let ((str-endpoint (string-downcase (string endpoint)))
102
- (get-object (symbolicate ' get- endpoint ' -object ))
102
+ (get (symbolicate ' get- endpoint))
103
103
(update (symbolicate ' update- endpoint)))
104
104
` (list
105
- (defun , get-object (&key query)
105
+ (defun , get (&key query)
106
106
(%request :get , str-endpoint :query query))
107
107
(defun , update (content)
108
108
(%request :patch , str-endpoint :content content)))))
Original file line number Diff line number Diff line change 42
42
43
43
(testing " define-object-client creates expected functions"
44
44
(define-object-client config)
45
- (ok (fboundp ' get-config-object ))
45
+ (ok (fboundp ' get-config))
46
46
(ok (fboundp ' update-config))))
You can’t perform that action at this time.
0 commit comments