class Ebanx::Command::Capture
Public Class Methods
new(params)
click to toggle source
# File lib/ebanx/command/capture.rb, line 4 def initialize(params) @params = params @request_method = :get @request_action = 'capture' @response_type = :json end
Public Instance Methods
validate()
click to toggle source
# File lib/ebanx/command/capture.rb, line 11 def validate validate_presence_or :hash, :merchant_payment_code end