Sha256: c8ec7b5289a5eafe2a8c9f08820aaa426547b145871d37c063eb682edd2a450a

Contents?: true

Size: 363 Bytes

Versions: 4

Compression:

Stored size: 363 Bytes

Contents

module Ebanx
  module Command
    class RefundOrCancel < Command
      def initialize(params)
        @params         = params
        @request_method = :post
        @request_action = 'refundOrCancel'
        @response_type  = :json
      end

      def validate
        validate_presence :hash
        validate_presence :description
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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