Class: Vk::API::Wall::PostSource
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Wall::PostSource
- Defined in:
- lib/vk/api/wall/post_source.rb
Overview
Instance Method Summary collapse
-
#data ⇒ String
Additional data.
-
#platform ⇒ String
Platform name.
-
#type ⇒ String
Type of post source.
-
#url ⇒ String
URL to an external site used to publish the post.
Instance Method Details
#data ⇒ String
15 |
# File 'lib/vk/api/wall/post_source.rb', line 15 attribute :data, API::Types::Coercible::String.optional.default(nil) |
#platform ⇒ String
13 |
# File 'lib/vk/api/wall/post_source.rb', line 13 attribute :platform, API::Types::Coercible::String.optional.default(nil) |
#type ⇒ String
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) |
#url ⇒ String
17 |
# File 'lib/vk/api/wall/post_source.rb', line 17 attribute :url, API::Types::Coercible::String.optional.default(nil) |