Class: Vk::API::Notes::Methods::Edit
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Notes::Methods::Edit
- Defined in:
- lib/vk/api/notes/methods/edit.rb
Overview
Edits a note of the current user.
Arguments collapse
-
#note_id ⇒ Integer
Note ID.
- #privacy_comment ⇒ Array
- #privacy_view ⇒ Array
-
#text ⇒ String
Note text.
-
#title ⇒ String
Note title.
Instance Method Summary collapse
- #initialize(arguments) ⇒ Notes::Methods::Edit constructor
Methods inherited from Schema::Method
Constructor Details
Instance Method Details
#note_id ⇒ Integer
Returns Note ID.
27 |
# File 'lib/vk/api/notes/methods/edit.rb', line 27 attribute :note_id, API::Types::Coercible::Int |
#privacy_comment ⇒ Array
35 |
# File 'lib/vk/api/notes/methods/edit.rb', line 35 attribute :privacy_comment, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default([]) |
#privacy_view ⇒ Array
33 |
# File 'lib/vk/api/notes/methods/edit.rb', line 33 attribute :privacy_view, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default([]) |