Sha256: 39699b13950685ea30bae30e243f77c55ca4fec30ae2c6e3b7a90752990fea4a
Contents?: true
Size: 446 Bytes
Versions: 5
Compression:
Stored size: 446 Bytes
Contents
module Loquor class Client attr_reader :config def initialize @config = Configuration.new end 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 end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
loquor-0.5.3 | lib/loquor/client.rb |
loquor-0.5.2 | lib/loquor/client.rb |
loquor-0.5.1 | lib/loquor/client.rb |
loquor-0.5.0 | lib/loquor/client.rb |
loquor-0.4.0 | lib/loquor/client.rb |