Class: Actions::Helpers::Humanizer::SystemResource
- Inherits:
-
Resource
- Object
- Resource
- Actions::Helpers::Humanizer::SystemResource
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_name ⇒ Object
186
187
188
|
# File 'app/lib/actions/helpers/humanizer.rb', line 186
def humanized_name
_('system')
end
|
#link(data) ⇒ Object
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
|
#name ⇒ Object
182
183
184
|
# File 'app/lib/actions/helpers/humanizer.rb', line 182
def name
:system
end
|