Class: Menuella::FoodSafety::Declaration

Inherits:
Data
  • Object
show all
Defined in:
lib/menuella/food_safety.rb

Overview

One declaration — an additive, beverage or product note — for a locale.

Instance Attribute Summary collapse

Instance Attribute Details

#categoryObject (readonly)

Returns the value of attribute category

Returns:

  • (Object)

    the current value of category



65
66
67
# File 'lib/menuella/food_safety.rb', line 65

def category
  @category
end

#descriptionObject (readonly)

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



65
66
67
# File 'lib/menuella/food_safety.rb', line 65

def description
  @description
end

#iconObject (readonly)

Returns the value of attribute icon

Returns:

  • (Object)

    the current value of icon



65
66
67
# File 'lib/menuella/food_safety.rb', line 65

def icon
  @icon
end

#keyObject (readonly)

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



65
66
67
# File 'lib/menuella/food_safety.rb', line 65

def key
  @key
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



65
66
67
# File 'lib/menuella/food_safety.rb', line 65

def name
  @name
end