Class: Vk::API::Fave::Methods::GetMarketItems

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

Overview

Returns market items bookmarked by current user.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Fave::Methods::GetMarketItems

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :count (Integer)

    Number of results to return. ;

  • :extended (Boolean)

    '1' – to return additional fields 'likes, can_comment, can_repost, photos'. By default: '0'.


# File 'lib/vk/api/fave/methods/get_market_items.rb', line 15

Instance Method Details

#countInteger

Returns Number of results to return. ;.

Returns:

  • (Integer)

    Number of results to return. ;


24
# File 'lib/vk/api/fave/methods/get_market_items.rb', line 24

attribute :count, API::Types::Coercible::Int.optional.default(50)

#extendedBoolean

Returns '1' – to return additional fields 'likes, can_comment, can_repost, photos'. By default: '0'.

Returns:

  • (Boolean)

    '1' – to return additional fields 'likes, can_comment, can_repost, photos'. By default: '0'.


26
# File 'lib/vk/api/fave/methods/get_market_items.rb', line 26

attribute :extended, API::Types::Form::Bool.optional.default(nil)