Sha256: fe9cea973f2d806ab9e6f0cc0d34f08e651700f462b7ffbc04ad340f7a73b051

Contents?: true

Size: 388 Bytes

Versions: 4

Compression:

Stored size: 388 Bytes

Contents

module Ebanx
  module Command
    class TransferCancel < Command
      def initialize(params)
        @params         = params
        @request_method = :post
        @request_action = 'transfer/cancel'
        @response_type  = :json
      end

      def validate
        validate_presence_either [:transfer_code, :uid, :external_reference, :settlement_code]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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