lib/loquor/client.rb in loquor-0.3.0 vs lib/loquor/client.rb in loquor-0.4.0
- old
+ new
@@ -9,9 +9,14 @@
def get(url)
deps = {config: @config}
HttpAction::Get.get(url, deps)
end
+ def put(url, payload)
+ deps = {config: @config}
+ HttpAction::Put.put(url, payload, deps)
+ end
+
def post(url, payload)
deps = {config: @config}
HttpAction::Post.post(url, payload, deps)
end
end