Class: Vk::API::Notes::Methods::Add
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Notes::Methods::Add
- Defined in:
- lib/vk/api/notes/methods/add.rb
Overview
Creates a new note for the current user.
Arguments collapse
- #privacy_comment ⇒ Array
- #privacy_view ⇒ Array
-
#text ⇒ String
Note text.
-
#title ⇒ String
Note title.
Instance Method Summary collapse
- #initialize(arguments) ⇒ Notes::Methods::Add constructor
Methods inherited from Schema::Method
Constructor Details
Instance Method Details
#privacy_comment ⇒ Array
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_view ⇒ Array
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([]) |