Sha256: 8b5d1debbb8e3ac0225fc7302e2baf59d35928eb88f3078c55f2c13ec97acc38
Contents?: true
Size: 1.65 KB
Versions: 3
Compression:
Stored size: 1.65 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' LOCALE_JP = 'jp' 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, LOCALE_JP] 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, :accessibility_desc, :openings_desc, :rates_desc, :includes, :excludes, :extra, :booking_desc] # Todo : finish implem of localized accessibility fields ALL_FIELDS = LOCALIZED_FIELDS + [:theme_desc, :private_desc, :capacity, :telephone, :email, :website, :google, :facebook, :twitter, :yelp, :trip_advisor, :fax, :mobile_website, :shorty_url, :instagram, :openings, :openings_extra, :rates, :services, :payment_methods, :categories, :themes, :labels, :chains, :classification, :challenged, :environments, :languages, :products, :animals, :equipments, :comfort, :activities, :promo, :internal, :linked, :service_provider_certifications] end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
apidae-1.4.13 | config/initializers/constants.rb |
apidae-1.4.12 | config/initializers/constants.rb |
apidae-1.4.11 | config/initializers/constants.rb |