Class: Vk::API::Apps::Leaderboard
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Apps::Leaderboard
- Defined in:
- lib/vk/api/apps/leaderboard.rb
Overview
Instance Method Summary collapse
-
#level ⇒ Integer
Level.
-
#points ⇒ Integer
Points number.
-
#score ⇒ Integer
Score number.
-
#user_id ⇒ Integer
User ID.
Instance Method Details
#level ⇒ Integer
Returns Level.
13 |
# File 'lib/vk/api/apps/leaderboard.rb', line 13 attribute :level, API::Types::Coercible::Int.optional.default(nil) |
#points ⇒ Integer
Returns Points number.
15 |
# File 'lib/vk/api/apps/leaderboard.rb', line 15 attribute :points, API::Types::Coercible::Int.optional.default(nil) |