Class: Vk::API::Photos::Methods::EditAlbum
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Photos::Methods::EditAlbum
- Defined in:
- lib/vk/api/photos/methods/edit_album.rb
Overview
Edits information about a photo album.
Arguments collapse
-
#album_id ⇒ Integer
ID of the photo album to be edited.
- #comments_disabled ⇒ Boolean
-
#description ⇒ String
New album description.
-
#owner_id ⇒ Integer
ID of the user or community that owns the album.
- #privacy_comment ⇒ Array
- #privacy_view ⇒ Array
-
#title ⇒ String
New album title.
- #upload_by_admins_only ⇒ Boolean
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Photos::Methods::EditAlbum
|
# File 'lib/vk/api/photos/methods/edit_album.rb', line 15
|
Instance Method Details
#album_id ⇒ Integer
Returns ID of the photo album to be edited.
30 |
# File 'lib/vk/api/photos/methods/edit_album.rb', line 30 attribute :album_id, API::Types::Coercible::Int |
#comments_disabled ⇒ Boolean
44 |
# File 'lib/vk/api/photos/methods/edit_album.rb', line 44 attribute :comments_disabled, API::Types::Form::Bool.optional.default(nil) |
#description ⇒ String
Returns New album description.
34 |
# File 'lib/vk/api/photos/methods/edit_album.rb', line 34 attribute :description, API::Types::Coercible::String.optional.default(nil) |
#owner_id ⇒ Integer
Returns ID of the user or community that owns the album.
36 |
# File 'lib/vk/api/photos/methods/edit_album.rb', line 36 attribute :owner_id, API::Types::Coercible::Int.optional.default(nil) |
#privacy_comment ⇒ Array
40 |
# File 'lib/vk/api/photos/methods/edit_album.rb', line 40 attribute :privacy_comment, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil) |
#privacy_view ⇒ Array
38 |
# File 'lib/vk/api/photos/methods/edit_album.rb', line 38 attribute :privacy_view, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil) |
#title ⇒ String
Returns New album title.
32 |
# File 'lib/vk/api/photos/methods/edit_album.rb', line 32 attribute :title, API::Types::Coercible::String.optional.default(nil) |