Class: Vk::API::Photos::PhotoAlbum
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Photos::PhotoAlbum
- Defined in:
- lib/vk/api/photos/photo_album.rb
Overview
Instance Method Summary collapse
-
#created ⇒ Integer
Date when the album has been created in Unixtime.
-
#description ⇒ String
Photo album description.
-
#id ⇒ Integer
Photo album ID.
-
#owner_id ⇒ Integer
Album owner's ID.
-
#size ⇒ Integer
Photos number.
- #thumb ⇒ API::Photos::Photo
-
#title ⇒ String
Photo album title.
-
#updated ⇒ Integer
Date when the album has been updated last time in Unixtime.
Instance Method Details
#created ⇒ Integer
Returns Date when the album has been created in Unixtime.
21 |
# File 'lib/vk/api/photos/photo_album.rb', line 21 attribute :created, API::Types::Coercible::Int |
#description ⇒ String
Returns Photo album description.
19 |
# File 'lib/vk/api/photos/photo_album.rb', line 19 attribute :description, API::Types::Coercible::String.optional.default(nil) |
#id ⇒ Integer
Returns Photo album ID.
11 |
# File 'lib/vk/api/photos/photo_album.rb', line 11 attribute :id, API::Types::Coercible::Int |
#owner_id ⇒ Integer
Returns Album owner's ID.
15 |
# File 'lib/vk/api/photos/photo_album.rb', line 15 attribute :owner_id, API::Types::Coercible::Int |
#size ⇒ Integer
Returns Photos number.
25 |
# File 'lib/vk/api/photos/photo_album.rb', line 25 attribute :size, API::Types::Coercible::Int |
#thumb ⇒ API::Photos::Photo
13 |
# File 'lib/vk/api/photos/photo_album.rb', line 13 attribute :thumb, Dry::Types[API::Photos::Photo].optional.default(nil) |