Class: Vk::API::Pages::Methods::Get
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Pages::Methods::Get
- Defined in:
- lib/vk/api/pages/methods/get.rb
Overview
Returns information about a wiki page.
Arguments collapse
-
#global ⇒ Boolean
'1' — to return information about a global wiki page.
-
#need_html ⇒ Boolean
'1' — to return the page as HTML;.
- #need_source ⇒ Boolean
-
#owner_id ⇒ Integer
Page owner ID.
-
#page_id ⇒ Integer
Wiki page ID.
-
#site_preview ⇒ Boolean
'1' — resulting wiki page is a preview for the attached link.
-
#title ⇒ String
Wiki page title.
Instance Method Summary collapse
- #initialize(arguments) ⇒ Pages::Methods::Get constructor
Methods inherited from Schema::Method
Constructor Details
Instance Method Details
#global ⇒ Boolean
Returns '1' — to return information about a global wiki page.
33 |
# File 'lib/vk/api/pages/methods/get.rb', line 33 attribute :global, API::Types::Form::Bool.optional.default(nil) |
#need_html ⇒ Boolean
Returns '1' — to return the page as HTML;.
41 |
# File 'lib/vk/api/pages/methods/get.rb', line 41 attribute :need_html, API::Types::Form::Bool.optional.default(nil) |
#need_source ⇒ Boolean
39 |
# File 'lib/vk/api/pages/methods/get.rb', line 39 attribute :need_source, API::Types::Form::Bool.optional.default(nil) |
#owner_id ⇒ Integer
Returns Page owner ID.
29 |
# File 'lib/vk/api/pages/methods/get.rb', line 29 attribute :owner_id, API::Types::Coercible::Int.optional.default(nil) |
#page_id ⇒ Integer
Returns Wiki page ID.
31 |
# File 'lib/vk/api/pages/methods/get.rb', line 31 attribute :page_id, API::Types::Coercible::Int.optional.default(nil) |