Class: Vk::API::Market::Methods::ReorderAlbums

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

Overview

Reorders the collections list.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Market::Methods::ReorderAlbums

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :owner_id (Integer)

    ID of an item owner community.

  • :album_id (Integer)

    Collection ID.

  • :before (Integer)

    ID of a collection to place current collection before it.

  • :after (Integer)

    ID of a collection to place current collection after it.



# File 'lib/vk/api/market/methods/reorder_albums.rb', line 15

Instance Method Details

#afterInteger

Returns ID of a collection to place current collection after it.

Returns:

  • (Integer)

    ID of a collection to place current collection after it.



32
# File 'lib/vk/api/market/methods/reorder_albums.rb', line 32

attribute :after, API::Types::Coercible::Int.optional.default(nil)

#album_idInteger

Returns Collection ID.

Returns:

  • (Integer)

    Collection ID.



28
# File 'lib/vk/api/market/methods/reorder_albums.rb', line 28

attribute :album_id, API::Types::Coercible::Int

#beforeInteger

Returns ID of a collection to place current collection before it.

Returns:

  • (Integer)

    ID of a collection to place current collection before it.



30
# File 'lib/vk/api/market/methods/reorder_albums.rb', line 30

attribute :before, API::Types::Coercible::Int.optional.default(nil)

#owner_idInteger

Returns ID of an item owner community.

Returns:

  • (Integer)

    ID of an item owner community.



26
# File 'lib/vk/api/market/methods/reorder_albums.rb', line 26

attribute :owner_id, API::Types::Coercible::Int