Class: Vk::API::Docs::Methods::Add
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Docs::Methods::Add
- Defined in:
- lib/vk/api/docs/methods/add.rb
Overview
Copies a document to a user's or community's document list.
Arguments collapse
-
#access_key ⇒ String
Access key.
-
#doc_id ⇒ Integer
Document ID.
-
#owner_id ⇒ Integer
ID of the user or community that owns the document.
Instance Method Summary collapse
- #initialize(arguments) ⇒ Docs::Methods::Add constructor
Methods inherited from Schema::Method
Constructor Details
Instance Method Details
#access_key ⇒ String
Returns Access key. This parameter is required if 'access_key' was returned with the document's data.
29 |
# File 'lib/vk/api/docs/methods/add.rb', line 29 attribute :access_key, API::Types::Coercible::String.optional.default(nil) |