Sha256: 8b0905bf14ac054314f881bc6492a58e33b1986905c86042f4e51eb664b441a1

Contents?: true

Size: 327 Bytes

Versions: 4

Compression:

Stored size: 327 Bytes

Contents

module Ebanx
  module Command
    class TransferCreate < Command
      def initialize(params)
        @params         = params
        @request_method = :post
        @request_action = 'transfer/create'
        @response_type  = :json
      end

      def validate
        validate_presence :amount
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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