• hellekin's avatar
    Rename public to visible · 95c5ab3c
    hellekin authored
    As `public` is a Ruby core method (Module#public), using it as a boolean field
    to determine whether the Resource can be accessed publicly can pose
    problems down the line.
    Since we're dealing with public records anyway, it's useful to rename it
    to `visible` and gain consistency with other boolean flags behavior,
    e.g., for question methods.
serializable_resource.rb 649 Bytes