Sha256: 7f4953b755103ac8ba75ac9297f4d242d9bf07abb6eb30f66957819bd8111108

Contents?: true

Size: 220 Bytes

Versions: 11

Compression:

Stored size: 220 Bytes

Contents

# frozen_string_literal: true

module Shark
  module NormalizedEmail
    extend ActiveSupport::Concern

    class_methods do
      def normalize_email(email)
        email.to_s.downcase.strip
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
bima-shark-sdk-3.1.1 lib/shark/concerns/normalized_email.rb
bima-shark-sdk-2.5.0 lib/shark/concerns/normalized_email.rb
bima-shark-sdk-3.1.0 lib/shark/concerns/normalized_email.rb
bima-shark-sdk-3.0.0 lib/shark/concerns/normalized_email.rb
bima-shark-sdk-2.4.4 lib/shark/concerns/normalized_email.rb
bima-shark-sdk-2.4.3 lib/shark/concerns/normalized_email.rb
bima-shark-sdk-2.4.2 lib/shark/concerns/normalized_email.rb
bima-shark-sdk-2.4.1 lib/shark/concerns/normalized_email.rb
bima-shark-sdk-2.4.0 lib/shark/concerns/normalized_email.rb
bima-shark-sdk-2.3.1 lib/shark/concerns/normalized_email.rb
bima-shark-sdk-2.3.0 lib/shark/concerns/normalized_email.rb