Class: Rubino::Interaction::ImageInput::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/rubino/interaction/image_input.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#image_pathsObject

Returns the value of attribute image_paths

Returns:

  • (Object)

    the current value of image_paths



38
39
40
# File 'lib/rubino/interaction/image_input.rb', line 38

def image_paths
  @image_paths
end

#rejectedObject

Returns the value of attribute rejected

Returns:

  • (Object)

    the current value of rejected



38
39
40
# File 'lib/rubino/interaction/image_input.rb', line 38

def rejected
  @rejected
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



38
39
40
# File 'lib/rubino/interaction/image_input.rb', line 38

def text
  @text
end

Instance Method Details

#images?Boolean

Returns:

  • (Boolean)


39
# File 'lib/rubino/interaction/image_input.rb', line 39

def images? = !image_paths.empty?