Class: Actions::Helpers::Humanizer::SystemResource

Inherits:
Resource
  • Object
show all
Defined in:
app/lib/actions/helpers/humanizer.rb

Instance Method Summary collapse

Methods inherited from Resource

#humanized_value, inherited

Instance Method Details

#humanized_nameObject



186
187
188
# File 'app/lib/actions/helpers/humanizer.rb', line 186

def humanized_name
  _('system')
end


190
191
192
193
194
# File 'app/lib/actions/helpers/humanizer.rb', line 190

def link(data)
  if system_uuid = fetch_data(data, :system, :uuid)
    "#/systems/#{system_uuid}/info"
  end
end

#nameObject



182
183
184
# File 'app/lib/actions/helpers/humanizer.rb', line 182

def name
  :system
end