Sha256: 028e7acf1cef3afdf35fcee7249887513e5916c05c457c4f406a18607039bba5

Contents?: true

Size: 363 Bytes

Versions: 10

Compression:

Stored size: 363 Bytes

Contents

# frozen_string_literal: true

module Workato
  module Extension
    module Currency
      def to_currency(options = {})
        ActiveSupport::NumberHelper::NumberToCurrencyConverter(self, options)
      end
    end
  end
end

String.include(Workato::Extension::Currency)
Integer.include(Workato::Extension::Currency)
Float.include(Workato::Extension::Currency)

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
workato-connector-sdk-1.0.1 lib/workato/extension/currency.rb
workato-connector-sdk-1.0.0 lib/workato/extension/currency.rb
workato-connector-sdk-0.5.0 lib/workato/extension/currency.rb
workato-connector-sdk-0.4.1 lib/workato/extension/currency.rb
workato-connector-sdk-0.4.0 lib/workato/extension/currency.rb
workato-connector-sdk-0.3.0 lib/workato/extension/currency.rb
workato-connector-sdk-0.2.0 lib/workato/extension/currency.rb
workato-connector-sdk-0.1.2 lib/workato/extension/currency.rb
workato-connector-sdk-0.1.1 lib/workato/extension/currency.rb
workato-connector-sdk-0.1.0 lib/workato/extension/currency.rb