class RailsToolViews::Surface
A persisted UI snapshot whose read and action access is checked by RailsToolViews.
Public Instance Methods
Source
# File app/models/rails_tool_views/surface.rb, line 15 def dom_id "rails_tool_views_surface_#{id}" end
Returns the stable browser target identifier.
Source
# File app/models/rails_tool_views/surface.rb, line 19 def snapshot { id: id, component: component_key, component_digest: component_digest, props: props, state: state, revision: revision } end
Returns the UI projection; it is not a permission grant.