Class: Vk::API::Fave::Methods::AddGroup

Inherits:
Schema::Method show all
Defined in:
lib/vk/api/fave/methods/add_group.rb

Overview

Adds a community to user faves.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Fave::Methods::AddGroup

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :group_id (Integer)

    Community ID.



# File 'lib/vk/api/fave/methods/add_group.rb', line 15

Instance Method Details

#group_idInteger

Returns Community ID.

Returns:

  • (Integer)

    Community ID.



23
# File 'lib/vk/api/fave/methods/add_group.rb', line 23

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