Class: Vk::API::Pages::Methods::GetVersion
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Pages::Methods::GetVersion
- Defined in:
- lib/vk/api/pages/methods/get_version.rb
Overview
Returns the text of one of the previous versions of a wiki page.
Arguments collapse
-
#group_id ⇒ Integer
ID of the community that owns the wiki page.
-
#need_html ⇒ Boolean
'1' — to return the page as HTML.
- #user_id ⇒ Integer
- #version_id ⇒ Integer
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Pages::Methods::GetVersion
|
# File 'lib/vk/api/pages/methods/get_version.rb', line 15
|
Instance Method Details
#group_id ⇒ Integer
Returns ID of the community that owns the wiki page.
28 |
# File 'lib/vk/api/pages/methods/get_version.rb', line 28 attribute :group_id, API::Types::Coercible::Int.optional.default(nil) |
#need_html ⇒ Boolean
Returns '1' — to return the page as HTML.
32 |
# File 'lib/vk/api/pages/methods/get_version.rb', line 32 attribute :need_html, API::Types::Form::Bool.optional.default(nil) |