Class: AppfluxRuby::MessageBuilders::CustomMessage
- Inherits:
-
Object
- Object
- AppfluxRuby::MessageBuilders::CustomMessage
- Defined in:
- lib/appflux_ruby/message_builders/custom_message.rb
Instance Method Summary collapse
- #add_tab(tab_name, options_data = {}) ⇒ Object
-
#initialize ⇒ CustomMessage
constructor
A new instance of CustomMessage.
Constructor Details
#initialize ⇒ CustomMessage
Returns a new instance of CustomMessage.
14 15 16 |
# File 'lib/appflux_ruby/message_builders/custom_message.rb', line 14 def initialize @custom_tabs = Array.new end |
Instance Method Details
#add_tab(tab_name, options_data = {}) ⇒ Object
18 19 20 21 |
# File 'lib/appflux_ruby/message_builders/custom_message.rb', line 18 def add_tab(tab_name, = {}) # @custom_tabs << { "#{ tab_name }": options_data } ::AppfluxRuby::Bugflux.additional_data[tab_name] = end |