Class: LWS::CorporateWebsite::OfficeTime

Inherits:
Generic::Model show all
Defined in:
lib/lws/apps/corporate_website.rb

Overview

The opening hours class

Instance Attribute Summary collapse

Instance Attribute Details

#announceString?

Returns the date/time when the special office times need to be announced on.

Returns:

  • (String, nil)

    the date/time when the special office times need to be announced on



143
# File 'lib/lws/apps/corporate_website.rb', line 143

attribute :announce

#created_atString (readonly)

Returns the timestamp of when the office time was created.

Returns:

  • (String)

    the timestamp of when the office time was created



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

attribute :created_at

#display_textString

Returns the displayed text of the special office time.

Returns:

  • (String)

    the displayed text of the special office time



147
# File 'lib/lws/apps/corporate_website.rb', line 147

attribute :display_text

#endString

Returns the end date/time of the special office times.

Returns:

  • (String)

    the end date/time of the special office times



151
# File 'lib/lws/apps/corporate_website.rb', line 151

attribute :end

#idFixnum (readonly)

Returns the (unique) ID of the office time.

Returns:

  • (Fixnum)

    the (unique) ID of the office time



138
# File 'lib/lws/apps/corporate_website.rb', line 138

attribute :id

#languageString

Returns the ID of the language the office time is for (2 characters).

Returns:

  • (String)

    the ID of the language the office time is for (2 characters)



155
# File 'lib/lws/apps/corporate_website.rb', line 155

attribute :language

#motiveString

Returns the special office time motive/key.

Returns:

  • (String)

    the special office time motive/key



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

attribute :motive

#startString

Returns the start date/time of the special office times.

Returns:

  • (String)

    the start date/time of the special office times



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

attribute :start

#updated_atString (readonly)

Returns the timestamp of when the office time was last updated.

Returns:

  • (String)

    the timestamp of when the office time was last updated



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

attribute :updated_at