Class: Vk::API::Groups::Methods::Leave

Inherits:
Schema::Method show all
Defined in:
lib/vk/api/groups/methods/leave.rb

Overview

With this method you can leave a group, public page, or event.; ;

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Groups::Methods::Leave

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :group_id (Integer)

    ID or screen name of the community.



# File 'lib/vk/api/groups/methods/leave.rb', line 15

Instance Method Details

#group_idInteger

Returns ID or screen name of the community.

Returns:

  • (Integer)

    ID or screen name of the community.



23
# File 'lib/vk/api/groups/methods/leave.rb', line 23

attribute :group_id, API::Types::Coercible::Int