Sha256: 5bb980432941fea002f505953ab6891b7cc2e023a51c6b489e2db7296913c6b2

Contents?: true

Size: 446 Bytes

Versions: 2

Compression:

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

2 entries across 2 versions & 1 rubygems

Version Path
ebanx-1.3.1 lib/ebanx/command/create_merchant_settlement_request.rb
ebanx-1.3.0 lib/ebanx/command/create_merchant_settlement_request.rb