Sha256: 5108d8bea4fdd6aa893e25358cb2b5458d4901f357082b104251558c79475f73

Contents?: true

Size: 220 Bytes

Versions: 65

Compression:

Stored size: 220 Bytes

Contents

module ContourAuthenticatable
  extend ActiveSupport::Concern

  included do
    belongs_to :user
  end

  def provider_name
    OmniAuth.config.camelizations[provider.to_s.downcase] || provider.to_s.titleize
  end

end

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
contour-2.7.0 app/models/concerns/contour_authenticatable.rb
contour-2.7.0.beta1 app/models/concerns/contour_authenticatable.rb
contour-2.6.0 app/models/concerns/contour_authenticatable.rb
contour-2.6.0.rc app/models/concerns/contour_authenticatable.rb
contour-2.6.0.beta8 app/models/concerns/contour_authenticatable.rb
contour-2.6.0.beta7 app/models/concerns/contour_authenticatable.rb
contour-2.6.0.beta6 app/models/concerns/contour_authenticatable.rb
contour-2.6.0.beta5 app/models/concerns/contour_authenticatable.rb
contour-2.6.0.beta4 app/models/concerns/contour_authenticatable.rb
contour-2.6.0.beta3 app/models/concerns/contour_authenticatable.rb
contour-2.6.0.beta2 app/models/concerns/contour_authenticatable.rb
contour-2.6.0.beta1 app/models/concerns/contour_authenticatable.rb
contour-2.5.0 app/models/concerns/contour_authenticatable.rb
contour-2.5.0.beta1 app/models/concerns/contour_authenticatable.rb
contour-2.4.0 app/models/concerns/contour_authenticatable.rb
contour-2.4.0.rc2 app/models/concerns/contour_authenticatable.rb
contour-2.4.0.rc app/models/concerns/contour_authenticatable.rb
contour-2.4.0.beta3 app/models/concerns/contour_authenticatable.rb
contour-2.4.0.beta2 app/models/concerns/contour_authenticatable.rb
contour-2.4.0.beta1 app/models/concerns/contour_authenticatable.rb