Sha256: 84c831646b9a0e5aba3f0562bb26531111fcf4a449a910cbb32a4a542c864890

Contents?: true

Size: 332 Bytes

Versions: 16

Compression:

Stored size: 332 Bytes

Contents

# typed: false
# frozen_string_literal: true

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

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
workato-connector-sdk-1.3.13 lib/workato/extension/phone.rb
workato-connector-sdk-1.3.12 lib/workato/extension/phone.rb
workato-connector-sdk-1.3.11 lib/workato/extension/phone.rb
workato-connector-sdk-1.3.10 lib/workato/extension/phone.rb
workato-connector-sdk-1.3.9 lib/workato/extension/phone.rb
workato-connector-sdk-1.3.8 lib/workato/extension/phone.rb
workato-connector-sdk-1.3.7 lib/workato/extension/phone.rb
workato-connector-sdk-1.3.6 lib/workato/extension/phone.rb
workato-connector-sdk-1.3.5 lib/workato/extension/phone.rb
workato-connector-sdk-1.3.4 lib/workato/extension/phone.rb
workato-connector-sdk-1.3.3 lib/workato/extension/phone.rb
workato-connector-sdk-1.3.2 lib/workato/extension/phone.rb
workato-connector-sdk-1.3.1 lib/workato/extension/phone.rb
workato-connector-sdk-1.3.0 lib/workato/extension/phone.rb
workato-connector-sdk-1.2.0 lib/workato/extension/phone.rb
workato-connector-sdk-1.1.0 lib/workato/extension/phone.rb