Class: Vk::API::Pages::Methods::GetHistory

Inherits:
Schema::Method
  • Object
show all
Defined in:
lib/vk/api/pages/methods/get_history.rb

Overview

Returns a list of all previous versions of a wiki page.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Pages::Methods::GetHistory

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :page_id (Integer)

    Wiki page ID.

  • :group_id (Integer)

    ID of the community that owns the wiki page.

  • :user_id (Integer)


# File 'lib/vk/api/pages/methods/get_history.rb', line 15

Instance Method Details

#group_idInteger

Returns ID of the community that owns the wiki page.

Returns:

  • (Integer)

    ID of the community that owns the wiki page.



27
# File 'lib/vk/api/pages/methods/get_history.rb', line 27

attribute :group_id, API::Types::Coercible::Int.optional.default(nil)

#page_idInteger

Returns Wiki page ID.

Returns:

  • (Integer)

    Wiki page ID.



25
# File 'lib/vk/api/pages/methods/get_history.rb', line 25

attribute :page_id, API::Types::Coercible::Int

#user_idInteger

Returns:

  • (Integer)


29
# File 'lib/vk/api/pages/methods/get_history.rb', line 29

attribute :user_id, API::Types::Coercible::Int.optional.default(nil)