Sha256: 780c538bbbe78b20ae71565d5e8bf9d8f7b984d8d1ba675dc9c6f8e86c4c1ca8

Contents?: true

Size: 197 Bytes

Versions: 10

Compression:

Stored size: 197 Bytes

Contents

module InfinumId
  module Resources
    class Finder
      def self.from_omniauth(auth)
        InfinumId.resource_class.find_by(provider: auth.provider, uid: auth.uid)
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
infinum_id-2.2.0 app/services/infinum_id/resources/finder.rb
infinum_id-2.1.0 app/services/infinum_id/resources/finder.rb
infinum_id-2.0.1 app/services/infinum_id/resources/finder.rb
infinum_id-2.0.0 app/services/infinum_id/resources/finder.rb
infinum_id-1.6.0 app/services/infinum_id/resources/finder.rb
infinum_id-1.5.1 app/services/infinum_id/resources/finder.rb
infinum_id-1.5.0 app/services/infinum_id/resources/finder.rb
infinum_id-1.4.2 app/services/infinum_id/resources/finder.rb
infinum_id-1.4.1 app/services/infinum_id/resources/finder.rb
infinum_id-1.4.0 app/services/infinum_id/resources/finder.rb