Sha256: 1b3435064561370ef7862057acf2974fe70da6d38da094a7792f9de7630a82c7

Contents?: true

Size: 447 Bytes

Versions: 4

Compression:

Stored size: 447 Bytes

Contents

module Ebanx
  module Command
    class CreateMerchantSettlementRequest < Command
      def initialize(params)
        @params         = params
        @request_method = :post
        @request_action = 'merchantSettlement/createSettlementRequest'
        @response_type  = :json
      end

      def validate
        validate_presence :message
        validate_presence :from_name
        validate_presence :from_email
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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