Class: ProxyStack

Inherits:
Pancake::Stacks::Short
  • Object
show all
Defined in:
lib/proxy_stack.rb,
lib/proxy_stack/proxy_stack.rb

Defined Under Namespace

Classes: Configuration

Class Method Summary collapse

Class Method Details

.after_proxy(&block) ⇒ Object



60
61
62
# File 'lib/proxy_stack/proxy_stack.rb', line 60

def self.after_proxy(&block)
  self::Controller.after_proxy << block
end

.before_proxy(&block) ⇒ Object



56
57
58
# File 'lib/proxy_stack/proxy_stack.rb', line 56

def self.before_proxy(&block)
  self::Controller.before_proxy << block
end