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

#url, #url_html

Method Summary

Methods inherited from Model

#dig, #reload, #rollback, #save

Instance Attribute Details

#created_atString (readonly)

Returns the timestamp of when the configuration was created.

Returns:

  • (String)

    the timestamp of when the configuration was created



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

attribute :created_at

#idInteger (readonly)

Returns the (unique) ID of the configuration.

Returns:

  • (Integer)

    the (unique) ID of the configuration



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

attribute :id

#keyString

Returns the configuration key.

Returns:

  • (String)

    the configuration key



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

attribute :key

#updated_atString (readonly)

Returns the timestamp of when the configuration was last updated.

Returns:

  • (String)

    the timestamp of when the configuration was last updated



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

attribute :updated_at

#valueString

Returns the configuration value.

Returns:

  • (String)

    the configuration value



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

attribute :value