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



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

attribute :key

#valueString

Returns the configuration value.

Returns:

  • (String)

    the configuration value



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

attribute :value