Module: Uiza::APIOperation::Remove
- Included in:
- Storage
- Defined in:
- lib/uiza/api_operation/remove.rb
Instance Method Summary collapse
Instance Method Details
#remove(id) ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/uiza/api_operation/remove.rb', line 4 def remove id url = "https://#{Uiza.workspace_api_domain}/api/public/v3/#{self::OBJECT_API_PATH}" method = :delete headers = {"Authorization" => Uiza.} params = {id: id} uiza_client = UizaClient.new url, method, headers, params, self::OBJECT_API_DESCRIPTION_LINK[:remove] uiza_client.execute_request end |