Class: DropboxApi::Metadata::AccessLevel

Inherits:
Symbol
  • Object
show all
Defined in:
lib/dropbox_api/metadata/access_level.rb

Overview

Example of a serialized AccessLevel object: { ".tag": "viewer" }

Constant Summary collapse

VALID_ACCESS_LEVELS =
[
  :owner,
  :editor,
  :viewer,
  :viewer_no_comment
]

Class Method Summary collapse

Methods inherited from Symbol

new, validate

Methods inherited from Base

field, #initialize, #serialized_field, #to_hash

Constructor Details

This class inherits a constructor from DropboxApi::Metadata::Base

Class Method Details

.valid_valuesObject



14
15
16
# File 'lib/dropbox_api/metadata/access_level.rb', line 14

def self.valid_values
  VALID_ACCESS_LEVELS
end