Class: Vk::API::Photos::PhotoSizes
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Photos::PhotoSizes
- Defined in:
- lib/vk/api/photos/photo_sizes.rb
Overview
Instance Method Summary collapse
-
#height ⇒ Integer
Height in px.
-
#src ⇒ String
URL of the image.
-
#type ⇒ String
Size type.
-
#width ⇒ Integer
Width in px.
Instance Method Details
#height ⇒ Integer
Returns Height in px.
15 |
# File 'lib/vk/api/photos/photo_sizes.rb', line 15 attribute :height, API::Types::Coercible::Int |
#src ⇒ String
Returns URL of the image.
11 |
# File 'lib/vk/api/photos/photo_sizes.rb', line 11 attribute :src, API::Types::Coercible::String |