Class: Vk::API::Base::Object

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/base/object.rb

Overview

Direct Known Subclasses

Database::City

Instance Method Summary collapse

Instance Method Details

#idInteger

Returns Object ID.

Returns:

  • (Integer)

    Object ID


11
# File 'lib/vk/api/base/object.rb', line 11

attribute :id, API::Types::Coercible::Int

#titleString

Returns Object title.

Returns:

  • (String)

    Object title


13
# File 'lib/vk/api/base/object.rb', line 13

attribute :title, API::Types::Coercible::String