Class: Vk::API::Gifts
- Inherits:
-
Schema::Namespace
- Object
- Schema::Namespace
- Vk::API::Gifts
- Defined in:
- lib/vk/api/methods.rb,
lib/vk/api/objects.rb,
lib/vk/api/responses.rb,
lib/vk/api/gifts/gift.rb,
lib/vk/api/gifts/layout.rb,
lib/vk/api/gifts/methods/get.rb,
lib/vk/api/gifts/responses/get_response.rb
Defined Under Namespace
Modules: Methods, Responses Classes: Gift, Layout
Instance Attribute Summary
Attributes inherited from Schema::Namespace
DSL collapse
-
#get(arguments = {}) ⇒ Vk::API::Gifts::Responses::GetResponse
Returns a list of user gifts.
Methods inherited from Schema::Namespace
Constructor Details
This class inherits a constructor from Vk::Schema::Namespace
Instance Method Details
#get(arguments = {}) ⇒ Vk::API::Gifts::Responses::GetResponse
Returns a list of user gifts.
5579 5580 5581 5582 5583 5584 5585 |
# File 'lib/vk/api/methods.rb', line 5579 def get(arguments = {}) require "vk/api/gifts/methods/get" method = Methods::Get.new(arguments) response = method.call(@client) require "vk/api/gifts/responses/get_response" Responses::GetResponse.new(response.deep_symbolize_keys) end |