Class: Vk::API::Docs::Methods::Edit
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Docs::Methods::Edit
- Defined in:
- lib/vk/api/docs/methods/edit.rb
Overview
Edits a document.
Arguments collapse
-
#doc_id ⇒ Integer
Document ID.
-
#owner_id ⇒ Integer
User ID or community ID.
-
#tags ⇒ Array
Document tags.
-
#title ⇒ String
Document title.
Instance Method Summary collapse
- #initialize(arguments) ⇒ Docs::Methods::Edit constructor
Methods inherited from Schema::Method
Constructor Details
Instance Method Details
#doc_id ⇒ Integer
Returns Document ID.
28 |
# File 'lib/vk/api/docs/methods/edit.rb', line 28 attribute :doc_id, API::Types::Coercible::Int |
#owner_id ⇒ Integer
Returns User ID or community ID. Use a negative value to designate a community ID.
26 |
# File 'lib/vk/api/docs/methods/edit.rb', line 26 attribute :owner_id, API::Types::Coercible::Int |
#tags ⇒ Array
Returns Document tags.
32 |
# File 'lib/vk/api/docs/methods/edit.rb', line 32 attribute :tags, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil) |
#title ⇒ String
Returns Document title.
30 |
# File 'lib/vk/api/docs/methods/edit.rb', line 30 attribute :title, API::Types::Coercible::String.optional.default(nil) |