Sha256: b1d4537134472de65fa4f5d748c33b709a8bde0a7f74a73fb6ba11dafb8e05cb

Contents?: true

Size: 508 Bytes

Versions: 6

Compression:

Stored size: 508 Bytes

Contents

module Apicasso
  # This class exposes the settable attributes of the gem
  class Configuration
    attr_accessor :origins, :headers, :resource, :credentials, :methods,
                  :max_age, :expose, :if, :vary, :model_definitions_excluded

    def initialize
      @origins = nil
      @headers = nil
      @resource = nil
      @credentials = nil
      @methods = nil
      @max_age = nil
      @expose = nil
      @if = nil
      @vary = nil
      @model_definitions_excluded = []
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
apicasso-0.7.3 lib/apicasso/configuration.rb
apicasso-0.7.2 lib/apicasso/configuration.rb
apicasso-0.7.1 lib/apicasso/configuration.rb
apicasso-0.7.0 lib/apicasso/configuration.rb
apicasso-0.6.8 lib/apicasso/configuration.rb
apicasso-0.6.7 lib/apicasso/configuration.rb