Class: LWS::Generic::Configuration

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

Overview

The configuration class

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attrs = {}) ⇒ Configuration

Returns a new instance of Configuration.



40
41
42
# File 'lib/lws/generic.rb', line 40

def initialize(attrs = {})
 super
end

Instance Attribute Details

#created_atString

Returns the timestamp of when the configuration was created.

Returns:

  • (String)

    the timestamp of when the configuration was created



# File 'lib/lws/generic.rb', line 34

#idFixnum (readonly)

Returns the (unique) ID of the configuration.

Returns:

  • (Fixnum)

    the (unique) ID of the configuration



# File 'lib/lws/generic.rb', line 25

#keyString

Returns the configuration key.

Returns:

  • (String)

    the configuration key



# File 'lib/lws/generic.rb', line 28

#updated_atString

Returns the timestamp of when the configuration was last updated.

Returns:

  • (String)

    the timestamp of when the configuration was last updated



40
41
42
# File 'lib/lws/generic.rb', line 40

def initialize(attrs = {})
 super
end

#valueString

Returns the configuration value.

Returns:

  • (String)

    the configuration value



# File 'lib/lws/generic.rb', line 31