Class: Vk::API::Market::Methods::Get
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Market::Methods::Get
- Defined in:
- lib/vk/api/market/methods/get.rb
Overview
Returns items list for a community.
Arguments collapse
-
#count ⇒ Integer
Number of items to return.
-
#extended ⇒ Boolean
'1' – method will return additional fields: 'likes, can_comment, car_repost, photos'.
-
#offset ⇒ Integer
Offset needed to return a specific subset of results.
-
#owner_id ⇒ Integer
ID of an item owner community; "Note that community id in the 'owner_id' parameter should be negative number.
Instance Method Summary collapse
- #initialize(arguments) ⇒ Market::Methods::Get constructor
Methods inherited from Schema::Method
Constructor Details
Instance Method Details
#count ⇒ Integer
Returns Number of items to return.
28 |
# File 'lib/vk/api/market/methods/get.rb', line 28 attribute :count, API::Types::Coercible::Int.optional.default(100) |
#extended ⇒ Boolean
Returns '1' – method will return additional fields: 'likes, can_comment, car_repost, photos'. These parameters are not returned by default.
32 |
# File 'lib/vk/api/market/methods/get.rb', line 32 attribute :extended, API::Types::Form::Bool.optional.default(nil) |
#offset ⇒ Integer
Returns Offset needed to return a specific subset of results.
30 |
# File 'lib/vk/api/market/methods/get.rb', line 30 attribute :offset, API::Types::Coercible::Int.optional.default(nil) |
#owner_id ⇒ Integer
Returns ID of an item owner community; "Note that community id in the 'owner_id' parameter should be negative number. For example 'owner_id'=-1 matches the [vk.com/apiclub|VK API] community ".
26 |
# File 'lib/vk/api/market/methods/get.rb', line 26 attribute :owner_id, API::Types::Coercible::Int |