class Ebanx::Command::RefundOrCancel

Public Class Methods

new(params) click to toggle source
# File lib/ebanx/command/refund_or_cancel.rb, line 4
def initialize(params)
  @params         = params
  @request_method = :post
  @request_action = 'refundOrCancel'
  @response_type  = :json
end

Public Instance Methods

validate() click to toggle source
# File lib/ebanx/command/refund_or_cancel.rb, line 11
def validate
  validate_presence :hash
  validate_presence :description
end