Sha256: 4b824e2e772693070a226648d838f305e576356434a1de0e7fb22c5e1987395b

Contents?: true

Size: 336 Bytes

Versions: 4

Compression:

Stored size: 336 Bytes

Contents

module Ebanx
  module Command
    class Capture < Command
      def initialize(params)
        @params         = params
        @request_method = :get
        @request_action = 'capture'
        @response_type  = :json
      end

      def validate
        validate_presence_or :hash, :merchant_payment_code
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ebanx-1.3.5 lib/ebanx/command/capture.rb
ebanx-1.3.4 lib/ebanx/command/capture.rb
ebanx-1.3.3 lib/ebanx/command/capture.rb
ebanx-1.3.2 lib/ebanx/command/capture.rb