Sha256: f31fca5fbe14f855978edc3d3619d6b92c05626532f0ca07299049b8f4855138
Contents?: true
Size: 312 Bytes
Versions: 5
Compression:
Stored size: 312 Bytes
Contents
module BraintreeRails class CustomerValidator < Validator Validations = [ [:id, :format => {:with => /\A[-_a-z0-9]*\z/i}, :length => {:maximum => 36}, :exclusion => {:in => %w(all new)}], [:first_name, :last_name, :company, :website, :phone, :fax, :length => {:maximum => 255}] ] end end
Version data entries
5 entries across 5 versions & 1 rubygems