class Bitkassa::StatusRequest

Checks the status of a payment

Attributes

payment_id[RW]

Public Instance Methods

attributes() click to toggle source
# File lib/bitkassa/status_request.rb, line 6
def attributes
  { payment_id: @payment_id }
end
can_perform?() click to toggle source
Calls superclass method Bitkassa::Request#can_perform?
# File lib/bitkassa/status_request.rb, line 14
def can_perform?
  return false if payment_id.nil?

  super
end
payload_action() click to toggle source
# File lib/bitkassa/status_request.rb, line 10
def payload_action
  "get_payment_status"
end