Sha256: 5612a7c163ca56fe69aa5d72f5913ec42d46f796b3ec2fb4f3b6a51659d57467
Contents?: true
Size: 1.29 KB
Versions: 1
Compression:
Stored size: 1.29 KB
Contents
# frozen_string_literal: true require 'vk/api/methods' module Vk module API class Market < Vk::Schema::Namespace module Methods # Creates new collection of items class AddAlbum < Schema::Method # @!group Properties self.open = false self.method = 'market.addAlbum' # @method initialize(arguments) # @param [Hash] arguments # @option arguments [Integer] :owner_id ID of an item owner community. # @option arguments [String] :title Collection title. # @option arguments [Integer] :photo_id Cover photo ID. # @option arguments [Boolean] :main_album Set as main ('1' – set, '0' – no). # @return [Market::Methods::AddAlbum] # @!group Arguments # @return [Integer] ID of an item owner community. attribute :owner_id, API::Types::Coercible::Int.optional # @return [String] Collection title. attribute :title, API::Types::Coercible::String.optional # @return [Integer] Cover photo ID. attribute :photo_id, API::Types::Coercible::Int.optional # @return [Boolean] Set as main ('1' – set, '0' – no). attribute :main_album, API::Types::Bool.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/market/methods/add_album.rb |