Class: Copilot::ImageOptions

Inherits:
Struct
  • Object
show all
Defined in:
lib/copilot/types.rb

Overview

Options for image generation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#qualityObject

Returns the value of attribute quality

Returns:

  • (Object)

    the current value of quality



314
315
316
# File 'lib/copilot/types.rb', line 314

def quality
  @quality
end

#sizeObject

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



314
315
316
# File 'lib/copilot/types.rb', line 314

def size
  @size
end

#styleObject

Returns the value of attribute style

Returns:

  • (Object)

    the current value of style



314
315
316
# File 'lib/copilot/types.rb', line 314

def style
  @style
end

Instance Method Details

#to_hObject



315
316
317
# File 'lib/copilot/types.rb', line 315

def to_h
  super.compact
end