Class: AILabTools::Generated::Params::ImageAINailArtParams
- Defined in:
- lib/ailabtools/generated/params/image_ai_nail_art_params.rb
Instance Attribute Summary collapse
-
#image ⇒ Object
readonly
Returns the value of attribute image.
-
#nail_desc ⇒ Object
readonly
Returns the value of attribute nail_desc.
-
#nail_name ⇒ Object
readonly
Returns the value of attribute nail_name.
Instance Method Summary collapse
- #body_fields ⇒ Object
-
#initialize(image:, nail_name:, nail_desc:) ⇒ ImageAINailArtParams
constructor
A new instance of ImageAINailArtParams.
- #query_fields ⇒ Object
Constructor Details
#initialize(image:, nail_name:, nail_desc:) ⇒ ImageAINailArtParams
Returns a new instance of ImageAINailArtParams.
8 9 10 11 12 |
# File 'lib/ailabtools/generated/params/image_ai_nail_art_params.rb', line 8 def initialize(image:, nail_name:, nail_desc:) @image = image @nail_name = nail_name @nail_desc = nail_desc end |
Instance Attribute Details
#image ⇒ Object (readonly)
Returns the value of attribute image.
7 8 9 |
# File 'lib/ailabtools/generated/params/image_ai_nail_art_params.rb', line 7 def image @image end |
#nail_desc ⇒ Object (readonly)
Returns the value of attribute nail_desc.
7 8 9 |
# File 'lib/ailabtools/generated/params/image_ai_nail_art_params.rb', line 7 def nail_desc @nail_desc end |
#nail_name ⇒ Object (readonly)
Returns the value of attribute nail_name.
7 8 9 |
# File 'lib/ailabtools/generated/params/image_ai_nail_art_params.rb', line 7 def nail_name @nail_name end |
Instance Method Details
#body_fields ⇒ Object
18 19 20 21 22 23 24 |
# File 'lib/ailabtools/generated/params/image_ai_nail_art_params.rb', line 18 def body_fields compact_hash({ "image" => @image, "nail_name" => @nail_name, "nail_desc" => @nail_desc, }) end |
#query_fields ⇒ Object
14 15 16 |
# File 'lib/ailabtools/generated/params/image_ai_nail_art_params.rb', line 14 def query_fields {} end |