Class: Vk::API::Pages::Methods::Save
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Pages::Methods::Save
- Defined in:
- lib/vk/api/pages/methods/save.rb
Overview
Saves the text of a wiki page.
Arguments collapse
-
#group_id ⇒ Integer
ID of the community that owns the wiki page.
-
#page_id ⇒ Integer
Wiki page ID.
-
#text ⇒ String
Text of the wiki page in wiki-format.
-
#title ⇒ String
Wiki page title.
- #user_id ⇒ Integer
Instance Method Summary collapse
- #initialize(arguments) ⇒ Pages::Methods::Save constructor
Methods inherited from Schema::Method
Constructor Details
Instance Method Details
#group_id ⇒ Integer
Returns ID of the community that owns the wiki page.
31 |
# File 'lib/vk/api/pages/methods/save.rb', line 31 attribute :group_id, API::Types::Coercible::Int.optional.default(nil) |
#page_id ⇒ Integer
Returns Wiki page ID. The 'title' parameter can be passed instead of 'pid'.
29 |
# File 'lib/vk/api/pages/methods/save.rb', line 29 attribute :page_id, API::Types::Coercible::Int.optional.default(nil) |
#text ⇒ String
Returns Text of the wiki page in wiki-format.
27 |
# File 'lib/vk/api/pages/methods/save.rb', line 27 attribute :text, API::Types::Coercible::String.optional.default(nil) |