Class: Duracloud::Client
Class Method Summary
collapse
Instance Method Summary
collapse
copy_content, create_space, delete_content, delete_space, generate_manifest, get_audit_log, get_bit_integrity_report, get_bit_integrity_report_properties, get_content, get_content_properties, get_manifest, get_space, get_space_acls, get_space_properties, get_spaces, get_storage_reports_by_space, get_storage_reports_by_store, get_storage_reports_for_all_spaces_in_a_store, get_stores, get_tasks, perform_task, set_content_properties, set_space_acls, store_content
Class Method Details
.execute(http_method, url, **options, &block) ⇒ Object
6
7
8
|
# File 'lib/duracloud/client.rb', line 6
def self.execute(http_method, url, **options, &block)
new.execute(http_method, url, **options, &block)
end
|
Instance Method Details
#execute(http_method, url, **options, &block) ⇒ Object
10
11
12
13
14
|
# 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
|