Class: Vk::API::Widgets::WidgetPage

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/widgets/widget_page.rb

Overview

Instance Method Summary collapse

Instance Method Details

#commentsObject


23
# File 'lib/vk/api/widgets/widget_page.rb', line 23

attribute :comments, API::Types::Coercible::Hash.optional.default(nil)

#dateInteger

Returns Date when widgets on the page has been initialized firstly in Unixtime.

Returns:

  • (Integer)

    Date when widgets on the page has been initialized firstly in Unixtime


25
# File 'lib/vk/api/widgets/widget_page.rb', line 25

attribute :date, API::Types::Coercible::Int.optional.default(nil)

#descriptionString

Returns Page description.

Returns:

  • (String)

    Page description


15
# File 'lib/vk/api/widgets/widget_page.rb', line 15

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

#idInteger

Returns Page ID.

Returns:

  • (Integer)

    Page ID


11
# File 'lib/vk/api/widgets/widget_page.rb', line 11

attribute :id, API::Types::Coercible::Int.optional.default(nil)

#likesObject


21
# File 'lib/vk/api/widgets/widget_page.rb', line 21

attribute :likes, API::Types::Coercible::Hash.optional.default(nil)

#page_idString

Returns page_id parameter value.

Returns:

  • (String)

    page_id parameter value


27
# File 'lib/vk/api/widgets/widget_page.rb', line 27

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

#photoString

Returns URL of the preview image.

Returns:

  • (String)

    URL of the preview image


17
# File 'lib/vk/api/widgets/widget_page.rb', line 17

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

#titleString

Returns Page title.

Returns:

  • (String)

    Page title


13
# File 'lib/vk/api/widgets/widget_page.rb', line 13

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

#urlString

Returns Page abcolute URL.

Returns:

  • (String)

    Page abcolute URL


19
# File 'lib/vk/api/widgets/widget_page.rb', line 19

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