Class: Vk::API::Market::Methods::EditAlbum
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Market::Methods::EditAlbum
- Defined in:
- lib/vk/api/market/methods/edit_album.rb
Overview
Edits a collection of items
Arguments collapse
-
#album_id ⇒ Integer
Collection ID.
-
#main_album ⇒ Boolean
Set as main ('1' – set, '0' – no).
-
#owner_id ⇒ Integer
ID of an collection owner community.
-
#photo_id ⇒ Integer
Cover photo id.
-
#title ⇒ String
Collection title.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Market::Methods::EditAlbum
|
# File 'lib/vk/api/market/methods/edit_album.rb', line 15
|
Instance Method Details
#album_id ⇒ Integer
Returns Collection ID.
29 |
# File 'lib/vk/api/market/methods/edit_album.rb', line 29 attribute :album_id, API::Types::Coercible::Int |
#main_album ⇒ Boolean
Returns Set as main ('1' – set, '0' – no).
35 |
# File 'lib/vk/api/market/methods/edit_album.rb', line 35 attribute :main_album, API::Types::Form::Bool.optional.default(nil) |
#owner_id ⇒ Integer
Returns ID of an collection owner community.
27 |
# File 'lib/vk/api/market/methods/edit_album.rb', line 27 attribute :owner_id, API::Types::Coercible::Int |