Class: Actions::Helpers::Humanizer::ActivationKeyResource
- Inherits:
-
Resource
- Object
- Resource
- Actions::Helpers::Humanizer::ActivationKeyResource
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
92
93
94
|
# File 'app/lib/actions/helpers/humanizer.rb', line 92
def humanized_name
_('activation key')
end
|
#link(data) ⇒ Object
96
97
98
99
100
|
# File 'app/lib/actions/helpers/humanizer.rb', line 96
def link(data)
if (ackey_id = fetch_data(data, :activation_key, :id))
"/activation_keys/#{ackey_id}/info"
end
end
|
#name ⇒ Object
88
89
90
|
# File 'app/lib/actions/helpers/humanizer.rb', line 88
def name
:activation_key
end
|