Class: ProconBypassMan::Callbacks::Callback

Inherits:
Object
  • Object
show all
Defined in:
lib/procon_bypass_man/support/callbacks.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filter:, chain_method:, block:) ⇒ Callback

Returns a new instance of Callback.



68
69
70
71
72
# File 'lib/procon_bypass_man/support/callbacks.rb', line 68

def initialize(filter: , chain_method: , block: )
  @filter = filter
  @chain_method = chain_method
  @block = block
end

Instance Attribute Details

#chain_methodObject

Returns the value of attribute chain_method.



66
67
68
# File 'lib/procon_bypass_man/support/callbacks.rb', line 66

def chain_method
  @chain_method
end

#filterObject

Returns the value of attribute filter.



66
67
68
# File 'lib/procon_bypass_man/support/callbacks.rb', line 66

def filter
  @filter
end