Sha256: b4b201ba75c132e7aebc2a5fc492576e4bd8155eaa469f558dac3c6152764b60
Contents?: true
Size: 400 Bytes
Versions: 3
Compression:
Stored size: 400 Bytes
Contents
module Duracloud class Client extend RestMethods include RestMethods def self.execute(http_method, url, **options, &block) new.execute(http_method, url, **options, &block) end def execute(http_method, url, **options, &block) Request.execute(http_method, url, **options, &block).tap do |response| ResponseHandler.call(response) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
duracloud-client-0.10.2 | lib/duracloud/client.rb |
duracloud-client-0.10.1 | lib/duracloud/client.rb |
duracloud-client-0.10.0 | lib/duracloud/client.rb |