Class: Vk::API::Account::Methods::GetInfo

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

Overview

Returns current account info.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :fields (Array)

    Fields to return. Possible values:; *'country' — user country;; *'https_required' — is "HTTPS only" option enabled;; *'own_posts_default' — is "Show my posts only" option is enabled;; *'no_wall_replies' — are wall replies disabled or not;; *'intro' — is intro passed by user or not;; *'lang' — user language.; ; By default: all.



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

Instance Method Details

#fieldsArray

Returns Fields to return. Possible values:; *'country' — user country;; *'https_required' — is "HTTPS only" option enabled;; *'own_posts_default' — is "Show my posts only" option is enabled;; *'no_wall_replies' — are wall replies disabled or not;; *'intro' — is intro passed by user or not;; *'lang' — user language.; ; By default: all.

Returns:

  • (Array)

    Fields to return. Possible values:; *'country' — user country;; *'https_required' — is "HTTPS only" option enabled;; *'own_posts_default' — is "Show my posts only" option is enabled;; *'no_wall_replies' — are wall replies disabled or not;; *'intro' — is intro passed by user or not;; *'lang' — user language.; ; By default: all.



23
# File 'lib/vk/api/account/methods/get_info.rb', line 23

attribute :fields, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil)