Class: Vk::API::Gifts::Layout
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Gifts::Layout
- Defined in:
- lib/vk/api/gifts/layout.rb
Overview
Instance Method Summary collapse
-
#id ⇒ Integer
Gift ID.
-
#thumb_256 ⇒ String
URL of the preview image with 256 px in width.
-
#thumb_48 ⇒ String
URL of the preview image with 48 px in width.
-
#thumb_96 ⇒ String
URL of the preview image with 96 px in width.
Instance Method Details
#id ⇒ Integer
Returns Gift ID.
11 |
# File 'lib/vk/api/gifts/layout.rb', line 11 attribute :id, API::Types::Coercible::Int.optional.default(nil) |
#thumb_256 ⇒ String
Returns URL of the preview image with 256 px in width.
13 |
# File 'lib/vk/api/gifts/layout.rb', line 13 attribute :thumb_256, API::Types::Coercible::String.optional.default(nil) |