Sha256: 5e0bdf41d0be86535b50a9547562f5d2a0b2b8255673cb71adcb930a70b65c9d
Contents?: true
Size: 1.41 KB
Versions: 1
Compression:
Stored size: 1.41 KB
Contents
# frozen_string_literal: true require 'vk/api/methods' module Vk module API class Notes < Vk::Schema::Namespace module Methods # Creates a new note for the current user. class Add < Schema::Method # @!group Properties self.open = false self.method = 'notes.add' # @method initialize(arguments) # @param [Hash] arguments # @option arguments [String] :title Note title. # @option arguments [String] :text Note text. # @option arguments [Array] :privacy_view @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json # @option arguments [Array] :privacy_comment @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json # @return [Notes::Methods::Add] # @!group Arguments # @return [String] Note title. attribute :title, API::Types::Coercible::String.optional # @return [String] Note text. attribute :text, API::Types::Coercible::String.optional # @return [Array] @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json attribute :privacy_view, API::Types::Coercible::Array.optional # @return [Array] @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json attribute :privacy_comment, API::Types::Coercible::Array.optional end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vk-0.99.5.53.alpha | lib/vk/api/notes/methods/add.rb |