Class: UiHelper::SummaryItem
- Inherits:
-
Object
- Object
- UiHelper::SummaryItem
- Defined in:
- app/models/ui_helper/summary_item.rb
Instance Attribute Summary collapse
-
#external_link ⇒ Object
Returns the value of attribute external_link.
-
#external_message ⇒ Object
Returns the value of attribute external_message.
-
#message ⇒ Object
Returns the value of attribute message.
-
#object ⇒ Object
Returns the value of attribute object.
-
#timestamp ⇒ Object
Returns the value of attribute timestamp.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ SummaryItem
constructor
A new instance of SummaryItem.
Constructor Details
#initialize(options = {}) ⇒ SummaryItem
Returns a new instance of SummaryItem.
6 7 8 9 10 11 12 |
# File 'app/models/ui_helper/summary_item.rb', line 6 def initialize( = {}) @message = [:message] @object = [:object] @timestamp = [:timestamp] @external_link = [:external_link] @external_message = [:external_message] end |
Instance Attribute Details
#external_link ⇒ Object
Returns the value of attribute external_link.
4 5 6 |
# File 'app/models/ui_helper/summary_item.rb', line 4 def external_link @external_link end |
#external_message ⇒ Object
Returns the value of attribute external_message.
4 5 6 |
# File 'app/models/ui_helper/summary_item.rb', line 4 def @external_message end |
#message ⇒ Object
Returns the value of attribute message.
4 5 6 |
# File 'app/models/ui_helper/summary_item.rb', line 4 def @message end |
#object ⇒ Object
Returns the value of attribute object.
4 5 6 |
# File 'app/models/ui_helper/summary_item.rb', line 4 def object @object end |
#timestamp ⇒ Object
Returns the value of attribute timestamp.
4 5 6 |
# File 'app/models/ui_helper/summary_item.rb', line 4 def @timestamp end |