Sha256: b4fd745ae513c4e40fa3a268b59a5ea8271444308b899052b5cfd9df8debc026

Contents?: true

Size: 525 Bytes

Versions: 22

Compression:

Stored size: 525 Bytes

Contents

module Spree
  module Api
    class Configuration < Preferences::Configuration
      preference :api_v2_serializers_cache_ttl, :integer, default: 3600 # 1 hour in seconds
      preference :api_v2_collection_cache_ttl, :integer, default: 3600 # 1 hour in seconds
      preference :api_v2_collection_cache_namespace, :string, default: 'api_v2_collection_cache'
      preference :api_v2_content_type, :string, default: 'application/vnd.api+json'
      preference :api_v2_per_page_limit, :integer, default: 500
    end
  end
end

Version data entries

22 entries across 22 versions & 3 rubygems

Version Path
spree_api-4.8.3 lib/spree/api/configuration.rb
spree_api-4.8.2 lib/spree/api/configuration.rb
spree_api-4.7.3 lib/spree/api/configuration.rb
spree_api-4.6.6 lib/spree/api/configuration.rb
spree_api-4.5.5 lib/spree/api/configuration.rb
spree_api-4.5.4 lib/spree/api/configuration.rb
spree_api-4.6.5 lib/spree/api/configuration.rb
spree_api-4.7.2 lib/spree/api/configuration.rb
spree_api-4.7.1 lib/spree/api/configuration.rb
spree_api-4.6.4 lib/spree/api/configuration.rb
spree_api-4.7.0 lib/spree/api/configuration.rb
spree_api-4.6.3 lib/spree/api/configuration.rb
spree_api-4.6.2 lib/spree/api/configuration.rb
spree_api-4.6.1 lib/spree/api/configuration.rb
spree_api-4.6.0 lib/spree/api/configuration.rb
spree_api-4.5.3 lib/spree/api/configuration.rb
atkhayar-dev-spree-api-0.0.1 lib/spree/api/configuration.rb
atkhayar-dev-spree-api-0.0.0 lib/spree/api/configuration.rb
atkhayar-spree-dev-api-0.0.0 lib/spree/api/configuration.rb
spree_api-4.5.2 lib/spree/api/configuration.rb