Sha256: a1667445257431b7b18356610df91ecc3a27a9e61d8fbac7b1a839fd5b15674a
Contents?: true
Size: 362 Bytes
Versions: 17
Compression:
Stored size: 362 Bytes
Contents
module PagSeguro class Document include ActiveModel::Validations validates_presence_of :type, :value # Set the document type # Only CPF is acceptable attr_accessor :type # Set the document number. # Must have 7-9 numbers. attr_accessor :value def initialize(value) @type = 'CPF' @value = value end end end
Version data entries
17 entries across 17 versions & 1 rubygems