Class: Copilot::ImageOptions
- Inherits:
-
Struct
- Object
- Struct
- Copilot::ImageOptions
- Defined in:
- lib/copilot/types.rb
Overview
Options for image generation.
Instance Attribute Summary collapse
-
#quality ⇒ Object
Returns the value of attribute quality.
-
#size ⇒ Object
Returns the value of attribute size.
-
#style ⇒ Object
Returns the value of attribute style.
Instance Method Summary collapse
Instance Attribute Details
#quality ⇒ Object
Returns the value of attribute quality
314 315 316 |
# File 'lib/copilot/types.rb', line 314 def quality @quality end |
#size ⇒ Object
Returns the value of attribute size
314 315 316 |
# File 'lib/copilot/types.rb', line 314 def size @size end |
#style ⇒ Object
Returns the value of attribute style
314 315 316 |
# File 'lib/copilot/types.rb', line 314 def style @style end |
Instance Method Details
#to_h ⇒ Object
315 316 317 |
# File 'lib/copilot/types.rb', line 315 def to_h super.compact end |