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

#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



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

attribute :created_at

#idInteger (readonly)

Returns the (unique) ID of the configuration.

Returns:

  • (Integer)

    the (unique) ID of the configuration



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

attribute :id

#keyString

Returns the configuration key.

Returns:

  • (String)

    the configuration key



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

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



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

attribute :updated_at

#valueString

Returns the configuration value.

Returns:

  • (String)

    the configuration value



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

attribute :value