Sha256: 1050b0d78902d5bf4a24f37c9dcb01f65d8c10f3f79c9b83917ceda7c6c8f711

Contents?: true

Size: 1.04 KB

Versions: 3

Compression:

Stored size: 1.04 KB

Contents

# Supported currencies which can be used to represent the monetary value of a Deal, or a value of any monetary type custom field.
# The Currency.code field must be used to point to a currency.
# Currency.code is the ISO-4217 format currency code for non-custom currencies.
# You can differentiate custom and non-custom currencies using the is_custom_flag property.
# For custom currencies, it is intended that the formatted sums are displayed in the UI using the following format: [sum][non-breaking space character][currency.symbol], for example: 500 users.
# Custom currencies cannot be added or removed via the API yet — rather the admin users of the account must configure them from the Pipedrive app
module PipedriveRuby
  # Returns all supported currencies in given account which should be used when saving monetary values with other objects.
  # The 'code' parameter of the returning objects is the currency code according to ISO 4217 for all non-custom currencies.
  class Currencies < PipedriveRuby::Base
    def_delegators :endpoints, :all
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pipedrive_ruby-1.0.2 lib/resources/currencies.rb
pipedrive_ruby-1.0.1.pre16 lib/resources/currencies.rb
pipedrive_ruby-1.0.1.pre15 lib/resources/currencies.rb