class Duracloud::Client

Public Class Methods

execute(http_method, url, **options, &block) click to toggle source
# File lib/duracloud/client.rb, line 6
def self.execute(http_method, url, **options, &block)
  new.execute(http_method, url, **options, &block)
end

Public Instance Methods

execute(http_method, url, **options, &block) click to toggle source
# File lib/duracloud/client.rb, line 10
def execute(http_method, url, **options, &block)
  Request.execute(http_method, url, **options, &block).tap do |response|
    ResponseHandler.call(response)
  end
end