Sha256: c648b46ce7a88b9435ed07874f4dcf683b0d5b4f6a4d4a34822241c378ad8e75

Contents?: true

Size: 403 Bytes

Versions: 4

Compression:

Stored size: 403 Bytes

Contents

module Ebanx
  module Command
    class PayoutSimulate < Command
      def initialize(params)
        @params         = params
        @request_method = :post
        @request_action = 'payout/simulate'
        @response_type  = :json
      end

      def validate
        validate_presence :country
        validate_presence :amount
        validate_presence :currency_code
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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