Class: Vk::API::Wall::PostSource

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/wall/post_source.rb

Overview

Instance Method Summary collapse

Instance Method Details

#dataString

Returns Additional data.

Returns:

  • (String)

    Additional data



15
# File 'lib/vk/api/wall/post_source.rb', line 15

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

#platformString

Returns Platform name.

Returns:

  • (String)

    Platform name



13
# File 'lib/vk/api/wall/post_source.rb', line 13

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

#typeString

Returns Type of post source.

Returns:

  • (String)

    Type of post source



11
# File 'lib/vk/api/wall/post_source.rb', line 11

attribute :type, API::Types::Coercible::String.enum("vk", "widget", "api", "rss", "sms").optional.default(nil)

#urlString

Returns URL to an external site used to publish the post.

Returns:

  • (String)

    URL to an external site used to publish the post



17
# File 'lib/vk/api/wall/post_source.rb', line 17

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