Sha256: 47f90c12af527067af543bfde304ea5090bf1b5b0efa6ef30add2e457d21e8b9

Contents?: true

Size: 500 Bytes

Versions: 8

Compression:

Stored size: 500 Bytes

Contents

module DropboxApi::Metadata
  # Example of a serialized {LinkPermissions} object:
  #   {
  #     "can_revoke": false,
  #     "resolved_visibility": {
  #       ".tag": "public"
  #     },
  #     "revoke_failure_reason": {
  #       ".tag": "owner_only"
  #     }
  #   }
  class LinkPermissions < Base
    field :can_revoke, :boolean
    field :resolved_visibility, Symbol, :optional
    field :requested_visibility, Symbol, :optional
    field :revoke_failure_reason, Symbol, :optional
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dropbox_api-0.1.10 lib/dropbox_api/metadata/link_permissions.rb
dropbox_api-0.1.9 lib/dropbox_api/metadata/link_permissions.rb
dropbox_api-0.1.8 lib/dropbox_api/metadata/link_permissions.rb
dropbox_api-0.1.7 lib/dropbox_api/metadata/link_permissions.rb
dropbox_api-0.1.6 lib/dropbox_api/metadata/link_permissions.rb
dropbox_api-0.1.5 lib/dropbox_api/metadata/link_permissions.rb
dropbox_api-0.1.4 lib/dropbox_api/metadata/link_permissions.rb
dropbox_api-0.1.3 lib/dropbox_api/metadata/link_permissions.rb