Class: Vk::API::Users::Methods::Get
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Users::Methods::Get
- Defined in:
- lib/vk/api/users/methods/get.rb
Overview
Returns detailed information on users.
Arguments collapse
-
#fields ⇒ Array, 'bdate'
Profile fields to return.
-
#name_case ⇒ String
Case for declension of user name and surname:; 'nom' — nominative (default); 'gen' — genitive ; 'dat' — dative; 'acc' — accusative ; 'ins' — instrumental ; 'abl' — prepositional.
-
#user_ids ⇒ Array
User IDs or screen names ('screen_name').
Instance Method Summary collapse
- #initialize(arguments) ⇒ Users::Methods::Get constructor
Methods inherited from Schema::Method
Constructor Details
Instance Method Details
#fields ⇒ Array, 'bdate'
Returns Profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'contacts', 'education', 'online', 'counters', 'relation', 'last_seen', 'activity', 'can_write_private_message', 'can_see_all_posts', 'can_post', 'universities';.
27 |
# File 'lib/vk/api/users/methods/get.rb', line 27 attribute :fields, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil) |
#name_case ⇒ String
Returns Case for declension of user name and surname:; 'nom' — nominative (default); 'gen' — genitive ; 'dat' — dative; 'acc' — accusative ; 'ins' — instrumental ; 'abl' — prepositional.
29 |
# File 'lib/vk/api/users/methods/get.rb', line 29 attribute :name_case, API::Types::Coercible::String.enum("nom", "gen", "dat", "acc", "ins", "abl").optional.default(nil) |