Class: Vk::API::Base::RepostsInfo
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Base::RepostsInfo
- Defined in:
- lib/vk/api/base/reposts_info.rb
Overview
Instance Method Summary collapse
-
#count ⇒ Integer
Reposts number.
-
#user_reposted ⇒ Integer
Information whether current user has reposted the post.
Instance Method Details
#count ⇒ Integer
Returns Reposts number.
11 |
# File 'lib/vk/api/base/reposts_info.rb', line 11 attribute :count, API::Types::Coercible::Int.optional.default(nil) |
#user_reposted ⇒ Integer
Returns Information whether current user has reposted the post.
13 |
# File 'lib/vk/api/base/reposts_info.rb', line 13 attribute :user_reposted, API::Types::Coercible::Int.optional.default(nil) |