Sha256: fcf569435f84f6b92f0c20ad9d1494b80c872af8e9e0201a9ee413e59a4e15ec

Contents?: true

Size: 440 Bytes

Versions: 7

Compression:

Stored size: 440 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

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
apicasso-0.6.6 lib/apicasso/configuration.rb
apicasso-0.6.5 lib/apicasso/configuration.rb
apicasso-0.6.4 lib/apicasso/configuration.rb
apicasso-0.6.3 lib/apicasso/configuration.rb
apicasso-0.6.2 lib/apicasso/configuration.rb
apicasso-0.6.1 lib/apicasso/configuration.rb
apicasso-0.6.0 lib/apicasso/configuration.rb