Sha256: f78e0ca22717170af522a1962a9e0b59a741fb0c6cf7b5a2417b49b04d474fb2

Contents?: true

Size: 259 Bytes

Versions: 42

Compression:

Stored size: 259 Bytes

Contents

# Fix bug: https://github.com/gonzalo-bulnes/simple_token_authentication/issues/83
module SimpleTokenAuthentication
  class Entity
    def name
      @name.gsub('::', '-')
    end
    def name_underscore
      name.underscore.gsub('-', '_')
    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
locomotivecms-4.2.0.alpha2 lib/locomotive/simple_token_authentication.rb
locomotivecms-4.2.0.alpha1 lib/locomotive/simple_token_authentication.rb
locomotivecms-4.1.1 lib/locomotive/simple_token_authentication.rb
locomotivecms-4.1.0 lib/locomotive/simple_token_authentication.rb
locomotivecms-4.1.0.rc1 lib/locomotive/simple_token_authentication.rb
locomotivecms-4.0.3 lib/locomotive/simple_token_authentication.rb
locomotivecms-4.0.2 lib/locomotive/simple_token_authentication.rb
locomotivecms-4.0.1 lib/locomotive/simple_token_authentication.rb
locomotivecms-4.0.0 lib/locomotive/simple_token_authentication.rb
locomotivecms-4.0.0.rc0 lib/locomotive/simple_token_authentication.rb
locomotivecms-4.0.0.alpha3 lib/locomotive/simple_token_authentication.rb
locomotivecms-3.4.1 lib/locomotive/simple_token_authentication.rb
locomotivecms-4.0.0.alpha2 lib/locomotive/simple_token_authentication.rb
locomotivecms-4.0.0.alpha1 lib/locomotive/simple_token_authentication.rb
locomotivecms-3.4.0 lib/locomotive/simple_token_authentication.rb
locomotivecms-3.3.0 lib/locomotive/simple_token_authentication.rb
locomotivecms-3.3.0.rc3 lib/locomotive/simple_token_authentication.rb
locomotivecms-3.3.0.rc2 lib/locomotive/simple_token_authentication.rb
locomotivecms-3.1.2 lib/locomotive/simple_token_authentication.rb
locomotivecms-3.2.1 lib/locomotive/simple_token_authentication.rb