Class: Vk::API::Apps::Leaderboard

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/apps/leaderboard.rb

Overview

Instance Method Summary collapse

Instance Method Details

#levelInteger

Returns Level.

Returns:

  • (Integer)

    Level


13
# File 'lib/vk/api/apps/leaderboard.rb', line 13

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

#pointsInteger

Returns Points number.

Returns:

  • (Integer)

    Points number


15
# File 'lib/vk/api/apps/leaderboard.rb', line 15

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

#scoreInteger

Returns Score number.

Returns:

  • (Integer)

    Score number


11
# File 'lib/vk/api/apps/leaderboard.rb', line 11

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

#user_idInteger

Returns User ID.

Returns:

  • (Integer)

    User ID


17
# File 'lib/vk/api/apps/leaderboard.rb', line 17

attribute :user_id, API::Types::Coercible::Int