Class: Vk::API::Account::Methods::SetInfo

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

Overview

Allows to edit the current account info.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Account::Methods::SetInfo

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :name (String)

    Setting name.

  • :value (String)

    Setting value.


# File 'lib/vk/api/account/methods/set_info.rb', line 15

Instance Method Details

#nameString

Returns Setting name.

Returns:

  • (String)

    Setting name.


24
# File 'lib/vk/api/account/methods/set_info.rb', line 24

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

#valueString

Returns Setting value.

Returns:

  • (String)

    Setting value.


26
# File 'lib/vk/api/account/methods/set_info.rb', line 26

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