Class: SimpleTokenAuthentication::Entity
- Inherits:
-
Object
- Object
- SimpleTokenAuthentication::Entity
- Defined in:
- lib/locomotive/simple_token_authentication.rb
Instance Method Summary collapse
Instance Method Details
#name ⇒ Object
4 5 6 |
# File 'lib/locomotive/simple_token_authentication.rb', line 4 def name @name.gsub('::', '-') end |
#name_underscore ⇒ Object
7 8 9 |
# File 'lib/locomotive/simple_token_authentication.rb', line 7 def name_underscore name.underscore.gsub('-', '_') end |