Class: Vk::API::Notes::Methods::Add

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

Overview

Creates a new note for the current user.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):


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

Instance Method Details

#privacy_commentArray


32
# File 'lib/vk/api/notes/methods/add.rb', line 32

attribute :privacy_comment, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default([])

#privacy_viewArray


30
# File 'lib/vk/api/notes/methods/add.rb', line 30

attribute :privacy_view, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default([])

#textString

Returns Note text.

Returns:

  • (String)

    Note text.


28
# File 'lib/vk/api/notes/methods/add.rb', line 28

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

#titleString

Returns Note title.

Returns:

  • (String)

    Note title.


26
# File 'lib/vk/api/notes/methods/add.rb', line 26

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