module Aliquot::Validator::Predicates
Verified according to: developers.google.com/pay/api/web/guides/resources/payment-data-cryptography#payment-method-token-structure
Constants
- CUSTOM_PREDICATE_ERRORS
Public Class Methods
to_bool(lbd)
click to toggle source
# File lib/aliquot/validator.rb, line 34 def self.to_bool(lbd) lbd.call true rescue false end