Sha256: 34265854c984368be6adbd0173c3fbc3d9ce970398660e688815f12f8eeb18a8
Contents?: true
Size: 604 Bytes
Versions: 3
Compression:
Stored size: 604 Bytes
Contents
module DataCatalog class Users < Base include Resource model User # == Permissions roles Roles permission :list => :basic permission :read => :basic permission :create => :admin permission :update => :owner permission :delete => :owner # == Properties property :name, :r => :basic property :email, :r => :owner property :role, :r => :owner, :w => :admin property :_api_key, :r => :owner, :w => :admin property :token, :r => :owner do |user| user.token end # == Callbacks end Users.build end
Version data entries
3 entries across 3 versions & 1 rubygems