Class: Vk::API::Utils::Methods::ResolveScreenName

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

Overview

Detects a type of object (e.g., user, community, application) and its ID by screen name.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Utils::Methods::ResolveScreenName

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :screen_name (String)

    Screen name of the user, community (e.g., 'apiclub,' 'andrew', or 'rules_of_war'), or application.


# File 'lib/vk/api/utils/methods/resolve_screen_name.rb', line 15

Instance Method Details

#screen_nameString

Returns Screen name of the user, community (e.g., 'apiclub,' 'andrew', or 'rules_of_war'), or application.

Returns:

  • (String)

    Screen name of the user, community (e.g., 'apiclub,' 'andrew', or 'rules_of_war'), or application.


23
# File 'lib/vk/api/utils/methods/resolve_screen_name.rb', line 23

attribute :screen_name, API::Types::Coercible::String