Class: Vk::API::Notes::Methods::Edit

Inherits:
Schema::Method show all
Defined in:
lib/vk/api/notes/methods/edit.rb

Overview

Edits a note of the current user.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Notes::Methods::Edit

Parameters:

  • arguments (Hash)

Options Hash (arguments):


# File 'lib/vk/api/notes/methods/edit.rb', line 15

Instance Method Details

#note_idInteger

Returns Note ID.

Returns:

  • (Integer)

    Note ID.


27
# File 'lib/vk/api/notes/methods/edit.rb', line 27

attribute :note_id, API::Types::Coercible::Int

#privacy_commentArray


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_viewArray


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([])

#textString

Returns Note text.

Returns:

  • (String)

    Note text.


31
# File 'lib/vk/api/notes/methods/edit.rb', line 31

attribute :text, API::Types::Coercible::String

#titleString

Returns Note title.

Returns:

  • (String)

    Note title.


29
# File 'lib/vk/api/notes/methods/edit.rb', line 29

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