Class: SimpleTokenAuthentication::Entity

Inherits:
Object
  • Object
show all
Defined in:
lib/locomotive/simple_token_authentication.rb

Instance Method Summary collapse

Instance Method Details

#nameObject


4
5
6
# File 'lib/locomotive/simple_token_authentication.rb', line 4

def name
  @name.gsub('::', '-')
end

#name_underscoreObject


7
8
9
# File 'lib/locomotive/simple_token_authentication.rb', line 7

def name_underscore
  name.underscore.gsub('-', '_')
end