Class: DropboxApi::Metadata::AccessLevel

Inherits:
Tag
  • 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 Tag

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


17
18
19
# File 'lib/dropbox_api/metadata/access_level.rb', line 17

def self.valid_values
  VALID_ACCESS_LEVELS
end