Sha256: a828ce190c1c5ad63a030a004c8e44582390a2c673396540adea5b76186a0f76

Contents?: true

Size: 344 Bytes

Versions: 4

Compression:

Stored size: 344 Bytes

Contents

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

      def validate
        validate_presence_or :external_reference, :uid
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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