Sha256: e11d13181f3af608b31d5fb57002fe390f3705afaeebab7e9712a85f8730dd3e

Contents?: true

Size: 362 Bytes

Versions: 7

Compression:

Stored size: 362 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

7 entries across 7 versions & 1 rubygems

Version Path
ebanx-1.3.1 lib/ebanx/command/refund_or_cancel.rb
ebanx-1.3.0 lib/ebanx/command/refund_or_cancel.rb
ebanx-1.2.0 lib/ebanx/command/refund_or_cancel.rb
ebanx-1.1.0 lib/ebanx/command/refund_or_cancel.rb
ebanx-1.0.2 lib/ebanx/command/refund_or_cancel.rb
ebanx-1.0.0 lib/ebanx/command/refund_or_cancel.rb
ebanx-0.1.0 lib/ebanx/command/refund_or_cancel.rb