Module: WebToPayController::ClassMethods

Defined in:
lib/webtopay_controller.rb

Instance Method Summary collapse

Instance Method Details

#webtopay(*actions) ⇒ Object



3
4
5
6
7
8
# File 'lib/webtopay_controller.rb', line 3

def webtopay(*actions)
  options = actions.any? ? { only: actions } : {}
  before_filter :webtopay, options
  
  attr_reader :webtopay_response
end