Class: LWS::CorporateWebsite::OfficeTime
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::CorporateWebsite::OfficeTime
- Defined in:
- lib/lws/apps/corporate_website.rb
Overview
The opening hours class
Instance Attribute Summary collapse
-
#announce ⇒ String?
The date/time when the special office times need to be announced on.
-
#display_text ⇒ String
The displayed text of the special office time.
-
#end ⇒ String
The end date/time of the special office times.
-
#language ⇒ String
The ID of the language the office time is for (2 characters).
-
#motive ⇒ String
The special office time motive/key.
-
#start ⇒ String
The start date/time of the special office times.
Attributes inherited from Generic::Model
#created_at, #id, #updated_at, #url, #url_html
Method Summary
Methods inherited from Generic::Model
#deep_dup, #dig, #reload, #rollback, #save
Instance Attribute Details
#announce ⇒ String?
Returns the date/time when the special office times need to be announced on.
108 |
# File 'lib/lws/apps/corporate_website.rb', line 108 attribute :announce |
#display_text ⇒ String
Returns the displayed text of the special office time.
112 |
# File 'lib/lws/apps/corporate_website.rb', line 112 attribute :display_text |
#end ⇒ String
Returns the end date/time of the special office times.
116 |
# File 'lib/lws/apps/corporate_website.rb', line 116 attribute :end |
#language ⇒ String
Returns the ID of the language the office time is for (2 characters).
120 |
# File 'lib/lws/apps/corporate_website.rb', line 120 attribute :language |
#motive ⇒ String
Returns the special office time motive/key.
124 |
# File 'lib/lws/apps/corporate_website.rb', line 124 attribute :motive |
#start ⇒ String
Returns the start date/time of the special office times.
128 |
# File 'lib/lws/apps/corporate_website.rb', line 128 attribute :start |