Module: Payr::PayrFilters
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/payr/controllers/payr_filters.rb
Instance Method Summary collapse
Instance Method Details
#check_ipn_response ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/payr/controllers/payr_filters.rb', line 11 def check_ipn_response # TODO use : unless Payr::Client.new.check_response_ipn(params) unless Payr::Client.new.check_response_ipn(request.url) redirect_to payr_bills_failure_path return end end |
#check_response ⇒ Object
5 6 7 8 9 10 |
# File 'lib/payr/controllers/payr_filters.rb', line 5 def check_response unless Payr::Client.new.check_response(request.url) redirect_to payr_bills_failure_path return end end |