Sha256: 09256a0334b4336872d82a62a1bc86283421c0eb68194698248d4fdabb2629c8

Contents?: true

Size: 307 Bytes

Versions: 7

Compression:

Stored size: 307 Bytes

Contents

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

      def validate
        validate_presence :hash
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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