Sha256: 40d633ab292d30dbdc5008be96d4531738386dfa6f93dbfd6e0c4cde04b1c089

Contents?: true

Size: 521 Bytes

Versions: 7

Compression:

Stored size: 521 Bytes

Contents

module DropboxApi::Metadata
  # This is an example of a serialized {MemberPermission}:
  #   {
  #     "action": {
  #       ".tag": "remove"
  #     },
  #     "allow": false,
  #     "reason": {
  #       ".tag": "target_is_self"
  #     }
  #   }
  #
  # This is normally contained in a {MemberPermissionList} object.
  class MemberPermission < Base
    field :action, DropboxApi::Metadata::MemberAction
    field :allow, :boolean
    field :reason, String # This is actually a PermissionDeniedReason object
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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