class Rubykassa::Configuration
Constants
- ATTRIBUTES
Public Class Methods
new()
click to toggle source
# File lib/rubykassa/configuration.rb, line 10 def initialize self.login = "your_login" self.first_password = "first_password" self.second_password = "second_password" self.mode = :test self.http_method = :get self.xml_http_method = :get self.success_callback = ->(notification) { render text: 'success' } self.fail_callback = ->(notification) { render text: 'fail' } self.result_callback = ->(notification) { render text: notification.success } end