Class: Vk::API::Notes::Methods::GetById
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Notes::Methods::GetById
- Defined in:
- lib/vk/api/notes/methods/get_by_id.rb
Overview
Returns a note by its ID.
Arguments collapse
-
#note_id ⇒ Integer
Note ID.
-
#owner_id ⇒ Integer
Note owner ID.
Instance Method Summary collapse
- #initialize(arguments) ⇒ Notes::Methods::GetById constructor
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Notes::Methods::GetById
|
|
# File 'lib/vk/api/notes/methods/get_by_id.rb', line 15
|
Instance Method Details
#note_id ⇒ Integer
Returns Note ID.
24 |
# File 'lib/vk/api/notes/methods/get_by_id.rb', line 24 attribute :note_id, API::Types::Coercible::Int |
#owner_id ⇒ Integer
Returns Note owner ID.
26 |
# File 'lib/vk/api/notes/methods/get_by_id.rb', line 26 attribute :owner_id, API::Types::Coercible::Int.optional.default(nil) |