class Omnikassa2::StatusPullRequest
Public Class Methods
new(notification, config = {})
click to toggle source
Calls superclass method
Omnikassa2::BaseRequest::new
# File lib/omnikassa2/requests/status_pull_request.rb, line 6 def initialize(notification, config = {}) super(config) @notification = notification end
Public Instance Methods
custom_token()
click to toggle source
# File lib/omnikassa2/requests/status_pull_request.rb, line 20 def custom_token @notification.authentication end
http_method()
click to toggle source
# File lib/omnikassa2/requests/status_pull_request.rb, line 12 def http_method :get end
path()
click to toggle source
# File lib/omnikassa2/requests/status_pull_request.rb, line 24 def path '/order/server/api/events/results/merchant.order.status.changed' end
response_decorator()
click to toggle source
# File lib/omnikassa2/requests/status_pull_request.rb, line 28 def response_decorator StatusPullResponse end