Sha256: 0d6ffa06a4242923717eaa8370e8959ae1dfb755ca007c163d2c87a6455fa8db

Contents?: true

Size: 324 Bytes

Versions: 2

Compression:

Stored size: 324 Bytes

Contents

# typed: false
# frozen_string_literal: true

module Workato
  module Extension
    module Phone
      def to_phone(options = {})
        ActiveSupport::NumberHelper::NumberToPhoneConverter(self, options).to_s
      end
    end
  end
end

String.include(Workato::Extension::Phone)
Integer.include(Workato::Extension::Phone)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workato-connector-sdk-1.0.3 lib/workato/extension/phone.rb
workato-connector-sdk-1.0.2 lib/workato/extension/phone.rb