Method: PluginDecorator#to_hash
- Defined in:
- app/decorators/plugin_decorator.rb
#to_hash ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'app/decorators/plugin_decorator.rb', line 14 def to_hash { is_installed: installed?, is_processing: processing?, uninstall_button: "plugin-modal-#{gem_name}", name: gem_name, authors: , summary: summary, api_version: api_version, category: category, status: status, installed_version: installed_version, latest_version: latest_version, is_latest_version: latest_version?, rubygems_org_page: rubygems_org_page } end |