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.



590
591
592
# File 'lib/geoptima/data.rb', line 590

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.



589
590
591
# File 'lib/geoptima/data.rb', line 589

def app_class
  @app_class
end

#categoryObject (readonly)

Returns the value of attribute category.



589
590
591
# File 'lib/geoptima/data.rb', line 589

def category
  @category
end

#keyObject (readonly)

Returns the value of attribute key.



589
590
591
# File 'lib/geoptima/data.rb', line 589

def key
  @key
end

#nameObject (readonly)

Returns the value of attribute name.



589
590
591
# File 'lib/geoptima/data.rb', line 589

def name
  @name
end