Module: Charcoal
- Defined in:
- lib/charcoal.rb,
lib/charcoal/jsonp.rb,
lib/charcoal/version.rb,
lib/charcoal/cross_origin.rb,
lib/charcoal/controller_filter.rb
Defined Under Namespace
Modules: ControllerFilter, CrossOrigin, JSONP, Utilities Classes: CrossOriginController
Constant Summary collapse
- VERSION =
"2.8.0"
Class Method Summary collapse
Class Method Details
.configuration ⇒ Object
2 3 4 5 6 7 8 9 10 |
# 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 |