Class: Geoptima::AppCategory

Inherits:
Object
  • Object
show all
Defined in:
lib/geoptima/data.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key, category, app_class, name) ⇒ AppCategory

Returns a new instance of AppCategory.



583
584
585
# File 'lib/geoptima/data.rb', line 583

def initialize(key, category, app_class, name)
  @key, @category, @app_class, @name = key, category, app_class, name
end

Instance Attribute Details

#app_classObject (readonly)

Returns the value of attribute app_class.



582
583
584
# File 'lib/geoptima/data.rb', line 582

def app_class
  @app_class
end

#categoryObject (readonly)

Returns the value of attribute category.



582
583
584
# File 'lib/geoptima/data.rb', line 582

def category
  @category
end

#keyObject (readonly)

Returns the value of attribute key.



582
583
584
# File 'lib/geoptima/data.rb', line 582

def key
  @key
end

#nameObject (readonly)

Returns the value of attribute name.



582
583
584
# File 'lib/geoptima/data.rb', line 582

def name
  @name
end