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
179
180
181
|
# File 'app/lib/actions/helpers/humanizer.rb', line 179
def humanized_name
_('system')
end
|
#link(data) ⇒ Object
183
184
185
186
187
|
# File 'app/lib/actions/helpers/humanizer.rb', line 183
def link(data)
if (system_uuid = fetch_data(data, :system, :uuid))
"#/systems/#{system_uuid}/info"
end
end
|
#name ⇒ Object
175
176
177
|
# File 'app/lib/actions/helpers/humanizer.rb', line 175
def name
:system
end
|