class YaKassa::V3::Validators::Present

Private Instance Methods

condition() click to toggle source
# File lib/ya_kassa/v3/validators/present.rb, line 7
def condition
  value && value != ''
end
error_msg() click to toggle source
# File lib/ya_kassa/v3/validators/present.rb, line 11
def error_msg
  "Should be present"
end