Sha256: 5dcfd6a17b54d5e4c71116c3a2d238c40b0676aef37168b36fb7edfa0500c084

Contents?: true

Size: 359 Bytes

Versions: 8

Compression:

Stored size: 359 Bytes

Contents

module DropboxApi::Metadata
  # Example of a serialized {AccessLevel} object:
  #
  # ```json
  # {
  #   ".tag": "viewer"
  # }
  # ```
  class AccessLevel < DropboxApi::Metadata::Tag
    VALID_ACCESS_LEVELS = [
      :owner,
      :editor,
      :viewer,
      :viewer_no_comment
    ]

    def self.valid_values
      VALID_ACCESS_LEVELS
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dropbox_api-0.1.18 lib/dropbox_api/metadata/access_level.rb
dropbox_api-0.1.17 lib/dropbox_api/metadata/access_level.rb
dropbox_api-0.1.16 lib/dropbox_api/metadata/access_level.rb
dropbox_api-0.1.15 lib/dropbox_api/metadata/access_level.rb
dropbox_api-0.1.14 lib/dropbox_api/metadata/access_level.rb
dropbox_api-0.1.13 lib/dropbox_api/metadata/access_level.rb
dropbox_api-0.1.12 lib/dropbox_api/metadata/access_level.rb
dropbox_api-0.1.11 lib/dropbox_api/metadata/access_level.rb