module Finix module Verifiable def verify_on(attrs={}) attrs = attrs.attributes if attrs.is_a?(Finix::Resource) unless self.verifications.nil? self.verifications.create(attrs) else raise 'Unsupported Method' end end end end