Sha256: 262c6cd9c10586c851fa77caa702a69ca3ab0a2be926bd3ae85eaa16346d0bfa
Contents?: true
Size: 388 Bytes
Versions: 4
Compression:
Stored size: 388 Bytes
Contents
module Ebanx module Command class Token < Command def initialize(params) @params = params @request_method = :post @request_action = 'token' @response_type = :json @request_body = true end def validate validate_presence :payment_type_code validate_presence :creditcard end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ebanx-1.3.5 | lib/ebanx/command/token.rb |
ebanx-1.3.4 | lib/ebanx/command/token.rb |
ebanx-1.3.3 | lib/ebanx/command/token.rb |
ebanx-1.3.2 | lib/ebanx/command/token.rb |