Sha256: e07efa7cdec0fef55a9425bdb0360bdc5d630f192ec7ed1bdc2d5b05218a1535

Contents?: true

Size: 244 Bytes

Versions: 2

Compression:

Stored size: 244 Bytes

Contents

json.extract! workspace, :id, :title

json.memberships workspace.memberships do |membership|
  json.extract! membership, :user_id, :role
  json.description membership.user.description
end

json.is_accessible can_user_read_workspace?(workspace)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
scrivito_sdk-0.66.0 app/views/scrivito/webservice/_workspace.json.jbuilder
scrivito_sdk-0.66.0.rc2 app/views/scrivito/webservice/_workspace.json.jbuilder