Class: VkGroupParser::UsersManager
- Inherits:
-
Object
- Object
- VkGroupParser::UsersManager
- Defined in:
- lib/vk_group_parser/users_manager.rb
Instance Method Summary collapse
- #get_info(ids) ⇒ Object
-
#initialize(vk_client, fields) ⇒ UsersManager
constructor
A new instance of UsersManager.
Constructor Details
#initialize(vk_client, fields) ⇒ UsersManager
Returns a new instance of UsersManager.
3 4 5 |
# File 'lib/vk_group_parser/users_manager.rb', line 3 def initialize(vk_client, fields) @fields, @vk_client = fields, vk_client end |
Instance Method Details
#get_info(ids) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/vk_group_parser/users_manager.rb', line 7 def get_info(ids) @vk_client.users.get( user_ids: ids, fields: @fields ) end |