Sha256: 8561417264862d2b8b6644a919ca6302030572ca5f71962cdeaf092bcf2b7277

Contents?: true

Size: 1.14 KB

Versions: 17

Compression:

Stored size: 1.14 KB

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]
  ALL_FIELDS = LOCALIZED_FIELDS + [:theme_desc, :private_desc, :capacity, :telephone, :email, :website, :services,
                                   :equipments, :comfort, :activities, :promo, :internal, :linked]
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
apidae-1.3.1 config/initializers/constants.rb
apidae-1.2.5 config/initializers/constants.rb
apidae-1.3.0 config/initializers/constants.rb
apidae-1.2.4 config/initializers/constants.rb
apidae-1.2.3 config/initializers/constants.rb
apidae-1.2.2 config/initializers/constants.rb
apidae-1.2.1 config/initializers/constants.rb
apidae-1.2.0 config/initializers/constants.rb
apidae-1.1.2 config/initializers/constants.rb
apidae-1.1.1 config/initializers/constants.rb
apidae-1.1.0 config/initializers/constants.rb
apidae-1.0.5 config/initializers/constants.rb
apidae-1.0.4 config/initializers/constants.rb
apidae-1.0.3 config/initializers/constants.rb
apidae-1.0.2 config/initializers/constants.rb
apidae-1.0.0 config/initializers/constants.rb
apidae-0.11.0 config/initializers/constants.rb