Sha256: bd2f8275845898756d770d0806eb46961d568c6ab4e14a4ff6523666b089fcfd

Contents?: true

Size: 955 Bytes

Versions: 10

Compression:

Stored size: 955 Bytes

Contents

module Apidae
  LOCALE_FR = 'fr'
  LOCALE_EN = 'en'
  LOCALE_IT = 'it'
  LOCALE_DE = 'de'
  LOCALE_NL = 'nl'
  LOCALE_RU = 'ru'
  LOCALE_ZH = 'zh'
  LOCALE_ES = 'es'
  LOCALE_PT_BR = 'pt-BR'

  DEFAULT_LOCALE = LOCALE_FR
  ALL_LOCALES = [LOCALE_FR, LOCALE_EN, LOCALE_IT, LOCALE_DE, LOCALE_NL, LOCALE_RU, LOCALE_ZH, LOCALE_ES, LOCALE_PT_BR]

  STANDARD_VERSION = 'STANDARD'
  WINTER_VERSION = 'HIVER'
  SUMMER_VERSION = 'ETE'
  CHALLENGED_VERSION = 'HANDICAP'
  BUSINESS_VERSION = 'TOURISME_AFFAIRES'
  GROUPS_VERSION = 'GROUPES'
  ACTIVITIES_VERSION = 'PRESTATAIRE_ACTIVITES'

  DEFAULT_VERSION = STANDARD_VERSION
  ALL_VERSIONS = [STANDARD_VERSION, WINTER_VERSION, SUMMER_VERSION, CHALLENGED_VERSION, BUSINESS_VERSION,
                  GROUPS_VERSION, ACTIVITIES_VERSION]

  LOCALIZED_FIELDS = [:title, :short_desc, :long_desc, :pictures, :attachments, :openings_desc, :rates_desc,
                      :includes, :excludes, :extra, :booking_desc]
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
apidae-0.9.28 config/initializers/constants.rb
apidae-0.9.27 config/initializers/constants.rb
apidae-0.10.0 config/initializers/constants.rb
apidae-0.9.26 config/initializers/constants.rb
apidae-0.9.25 config/initializers/constants.rb
apidae-0.9.24 config/initializers/constants.rb
apidae-0.9.23 config/initializers/constants.rb
apidae-0.9.22 config/initializers/constants.rb
apidae-0.9.21 config/initializers/constants.rb
apidae-0.9.20 config/initializers/constants.rb