Class: Vk::API::Leads::Methods::Complete

Inherits:
Schema::Method show all
Defined in:
lib/vk/api/leads/methods/complete.rb

Overview

Completes the lead started by user.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Leads::Methods::Complete

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :vk_sid (String)

    Session obtained as GET parameter when session started.

  • :secret (String)

    Secret key from the lead testing interface.

  • :comment (String)

    Comment text.


# File 'lib/vk/api/leads/methods/complete.rb', line 15

Instance Method Details

#commentString

Returns Comment text.

Returns:

  • (String)

    Comment text.


29
# File 'lib/vk/api/leads/methods/complete.rb', line 29

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

#secretString

Returns Secret key from the lead testing interface.

Returns:

  • (String)

    Secret key from the lead testing interface.


27
# File 'lib/vk/api/leads/methods/complete.rb', line 27

attribute :secret, API::Types::Coercible::String

#vk_sidString

Returns Session obtained as GET parameter when session started.

Returns:

  • (String)

    Session obtained as GET parameter when session started.


25
# File 'lib/vk/api/leads/methods/complete.rb', line 25

attribute :vk_sid, API::Types::Coercible::String