Class: Etna::Clients::Metis::DeleteFolderRequest
- Inherits:
-
FolderRequest
- Object
- Struct
- FolderRequest
- Etna::Clients::Metis::DeleteFolderRequest
- Includes:
- JsonSerializableStruct
- Defined in:
- lib/etna/clients/metis/models.rb
Instance Attribute Summary
Attributes inherited from FolderRequest
#bucket_name, #folder_path, #project_name
Instance Method Summary collapse
-
#initialize(**params) ⇒ DeleteFolderRequest
constructor
A new instance of DeleteFolderRequest.
- #to_h ⇒ Object
Methods included from JsonSerializableStruct
Constructor Details
#initialize(**params) ⇒ DeleteFolderRequest
Returns a new instance of DeleteFolderRequest.
134 135 136 |
# File 'lib/etna/clients/metis/models.rb', line 134 def initialize(**params) super({}.update(params)) end |
Instance Method Details
#to_h ⇒ Object
138 139 140 141 142 143 |
# File 'lib/etna/clients/metis/models.rb', line 138 def to_h # The :project_name comes in from Polyphemus as a symbol value, # we need to make sure it's a string because it's going # in the URL. super().compact.transform_values(&:to_s) end |