Class: Vk::API::Market::Methods::AddAlbum
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Market::Methods::AddAlbum
- Defined in:
- lib/vk/api/market/methods/add_album.rb
Overview
Creates new collection of items
Arguments collapse
-
#main_album ⇒ Boolean
Set as main ('1' – set, '0' – no).
-
#owner_id ⇒ Integer
ID of an item 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::AddAlbum
|
# File 'lib/vk/api/market/methods/add_album.rb', line 15
|
Instance Method Details
#main_album ⇒ Boolean
Returns Set as main ('1' – set, '0' – no).
32 |
# File 'lib/vk/api/market/methods/add_album.rb', line 32 attribute :main_album, API::Types::Form::Bool.optional.default(nil) |
#owner_id ⇒ Integer
Returns ID of an item owner community.
26 |
# File 'lib/vk/api/market/methods/add_album.rb', line 26 attribute :owner_id, API::Types::Coercible::Int |