module Charcoal

Constants

VERSION

Public Class Methods

configuration() click to toggle source
# File lib/charcoal.rb, line 2
def self.configuration
  @configuration ||= {
    "credentials" => true,
    "expose-headers" => %w[],
    "allow-headers" => %w[X-Requested-With X-Prototype-Version],
    "max-age" => 86400,
    "allow-origin" => "*"
  }
end