Class: TDiary::TDiaryConf
- Inherits:
-
TDiaryAuthorOnlyBase
- Object
- TDiaryBase
- TDiaryAuthorOnlyBase
- TDiary::TDiaryConf
- Defined in:
- lib/tdiary/author_only_base.rb
Overview
class TDiaryConf
show configuration form
Direct Known Subclasses
Constant Summary
Constants inherited from TDiaryBase
TDiary::TDiaryBase::DIRTY_COMMENT, TDiary::TDiaryBase::DIRTY_DIARY, TDiary::TDiaryBase::DIRTY_NONE, TDiary::TDiaryBase::DIRTY_REFERER
Instance Attribute Summary
Attributes inherited from TDiaryBase
#cgi, #conf, #cookies, #date, #diaries, #ignore_parser_cache, #rhtml
Instance Method Summary collapse
- #csrf_protection_get_is_okay ⇒ Object
-
#initialize(cgi, rhtml, conf) ⇒ TDiaryConf
constructor
A new instance of TDiaryConf.
Methods inherited from TDiaryBase
#[], #calendar, #eval_rhtml, #last_modified
Methods included from ViewHelper
Constructor Details
#initialize(cgi, rhtml, conf) ⇒ TDiaryConf
Returns a new instance of TDiaryConf.
133 134 135 136 |
# File 'lib/tdiary/author_only_base.rb', line 133 def initialize( cgi, rhtml, conf ) super @key = @cgi.params['conf'][0] || '' end |
Instance Method Details
#csrf_protection_get_is_okay ⇒ Object
131 |
# File 'lib/tdiary/author_only_base.rb', line 131 def csrf_protection_get_is_okay; true; end |