Method: OpenC3::ToolModel#as_json
- Defined in:
- lib/openc3/models/tool_model.rb
#as_json(*a) ⇒ Object
187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 |
# File 'lib/openc3/models/tool_model.rb', line 187 def as_json(*a) { 'name' => @name, 'folder_name' => @folder_name, 'icon' => @icon, 'url' => @url, 'inline_url' => @inline_url, 'window' => @window, 'category' => @category, 'shown' => @shown, 'position' => @position, 'updated_at' => @updated_at, 'plugin' => @plugin, 'needs_dependencies' => @needs_dependencies, 'disable_erb' => @disable_erb } end |