Sha256: dc0b943e585e8403d966540e63edd8601bdadc4221e7d46053c999ee10c60e6e
Contents?: true
Size: 1.03 KB
Versions: 6
Compression:
Stored size: 1.03 KB
Contents
module DropboxApi::Endpoints::Sharing class CreateSharedLinkWithSettings < DropboxApi::Endpoints::Rpc Method = :post Path = "/2/sharing/create_shared_link_with_settings".freeze ResultType = DropboxApi::Metadata::SharedLink ErrorType = DropboxApi::Errors::CreateSharedLinkWithSettingsError # Create a shared link with custom settings. If no settings are given then # the default visibility is :public. (The resolved # visibility, though, may depend on other aspects such as team and shared # folder settings). # # @param path [String] The path to be shared by the shared link. # @param settings [SharedLinkSettings] The requested settings for the newly # created shared link This field is optional. # @return [DropboxApi::Metadata::SharedLink] add_endpoint :create_shared_link_with_settings do |path, settings = {}| # NOTE: This endpoint accepts an additional option `settings` which # hasn't been implemented. perform_request :path => path end end end
Version data entries
6 entries across 6 versions & 1 rubygems