Class: RockRMS::Response::LavaShortcode
- Defined in:
- lib/rock_rms/response/lava_shortcode.rb
Constant Summary collapse
- MAP =
{ name: 'Name', description: 'Description', documentation: 'Documentation', active: 'IsActive', is_system: 'IsSystem', enabled_lava_commands: 'EnabledLavaCommands', tag_name: 'TagName', tag_type: 'TagType', markup: 'Markup', parameters: 'Parameters' }.freeze
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
format, #format, #format_attributes, #initialize, #to_h
Constructor Details
This class inherits a constructor from RockRMS::Response::Base
Instance Method Details
#format_single(data) ⇒ Object
17 18 19 |
# File 'lib/rock_rms/response/lava_shortcode.rb', line 17 def format_single(data) to_h(MAP, data) end |