Sha256: 3ce587510f9a1a039fa0c8f86dbc50619570e38fc30bdac284ed5923de31bdf5

Contents?: true

Size: 388 Bytes

Versions: 4

Compression:

Stored size: 388 Bytes

Contents

module Ebanx
  module Command
    class TransferCommit < Command
      def initialize(params)
        @params         = params
        @request_method = :post
        @request_action = 'transfer/commit'
        @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_commit.rb
ebanx-1.3.4 lib/ebanx/command/transfer_commit.rb
ebanx-1.3.3 lib/ebanx/command/transfer_commit.rb
ebanx-1.3.2 lib/ebanx/command/transfer_commit.rb