Module: Raudi::Proxy::Headers
- Included in:
- Controller
- Defined in:
- lib/raudi/proxy/headers.rb
Instance Method Summary collapse
Instance Method Details
#headers(*args) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/raudi/proxy/headers.rb', line 7 def headers(*args) args.each do |param| case param when String next if param == "" when Symbol param = "avr/#{param}" else next end controller.headers << param if allow_header?(param) end end |