Class: Vk::API::Groups::Methods::SetCallbackServer

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

Overview

Allow to set server URL for the community. ; ;

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :group_id (Integer)

    Community ID.

  • :server_url (String)

    Server URL.



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

Instance Method Details

#group_idInteger

Returns Community ID.

Returns:

  • (Integer)

    Community ID.



24
# File 'lib/vk/api/groups/methods/set_callback_server.rb', line 24

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

#server_urlString

Returns Server URL.

Returns:

  • (String)

    Server URL.



26
# File 'lib/vk/api/groups/methods/set_callback_server.rb', line 26

attribute :server_url, API::Types::Coercible::String.optional.default(nil)