Class: Roseflow::StabilityAI::Operations::Base
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- Roseflow::StabilityAI::Operations::Base
show all
- Defined in:
- lib/roseflow/stabilityai/operations/base.rb
Instance Method Summary
collapse
Instance Method Details
#body ⇒ Object
19
20
21
|
# File 'lib/roseflow/stabilityai/operations/base.rb', line 19
def body
to_h.except(*excluded_keys)
end
|
#excluded_keys ⇒ Object
11
12
13
|
# File 'lib/roseflow/stabilityai/operations/base.rb', line 11
def excluded_keys
[:path]
end
|
#multipart? ⇒ Boolean
15
16
17
|
# File 'lib/roseflow/stabilityai/operations/base.rb', line 15
def multipart?
true
end
|