Class: CodengageViewComponents::FlashComponent::Message

Inherits:
Struct
  • Object
show all
Defined in:
app/components/codengage_view_components/flash_component.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bgObject

Returns the value of attribute bg

Returns:

  • (Object)

    the current value of bg



5
6
7
# File 'app/components/codengage_view_components/flash_component.rb', line 5

def bg
  @bg
end

#iconObject

Returns the value of attribute icon

Returns:

  • (Object)

    the current value of icon



5
6
7
# File 'app/components/codengage_view_components/flash_component.rb', line 5

def icon
  @icon
end

#strokeObject

Returns the value of attribute stroke

Returns:

  • (Object)

    the current value of stroke



5
6
7
# File 'app/components/codengage_view_components/flash_component.rb', line 5

def stroke
  @stroke
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



5
6
7
# File 'app/components/codengage_view_components/flash_component.rb', line 5

def text
  @text
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



5
6
7
# File 'app/components/codengage_view_components/flash_component.rb', line 5

def type
  @type
end