Class: Vk::API::Gifts::Layout

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/gifts/layout.rb

Overview

Instance Method Summary collapse

Instance Method Details

#id ⇒ Integer

Returns Gift ID.

Returns:

  • (Integer) —

    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.

Returns:

  • (String) —

    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)

#thumb_48 ⇒ String

Returns URL of the preview image with 48 px in width.

Returns:

  • (String) —

    URL of the preview image with 48 px in width



17
# File 'lib/vk/api/gifts/layout.rb', line 17

attribute :thumb_48, API::Types::Coercible::String.optional.default(nil)

#thumb_96 ⇒ String

Returns URL of the preview image with 96 px in width.

Returns:

  • (String) —

    URL of the preview image with 96 px in width



15
# File 'lib/vk/api/gifts/layout.rb', line 15

attribute :thumb_96, API::Types::Coercible::String.optional.default(nil)