Class: LWS::Generic::Configuration

Inherits:
Model
  • Object
show all
Defined in:
lib/lws/apps/generic.rb

Overview

The configuration class

Instance Attribute Summary collapse

Attributes inherited from Model

#created_at, #id, #updated_at, #url, #url_html

Method Summary

Methods inherited from Model

#deep_dup, #dig, #reload, #rollback, #save

Instance Attribute Details

#keyString

Returns the configuration key.

Returns:

  • (String)

    the configuration key



211
# File 'lib/lws/apps/generic.rb', line 211

attribute :key

#valueString

Returns the configuration value.

Returns:

  • (String)

    the configuration value



215
# File 'lib/lws/apps/generic.rb', line 215

attribute :value