Sha256: 3380b439f9a17945ac686c7b1e56b72a814a7c77641a2163039dfa68871de7fe

Contents?: true

Size: 1.17 KB

Versions: 1

Compression:

Stored size: 1.17 KB

Contents

# frozen_string_literal: true
require 'vk/api/methods'

module Vk
  module API
    class Market < Vk::Schema::Namespace
      module Methods
        # Returns community's collections list.
        class GetAlbums < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'market.getAlbums'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :owner_id ID of an items owner community.
          #   @option arguments [Integer] :offset Offset needed to return a specific subset of results.
          #   @option arguments [Integer] :count Number of items to return.
          #   @return [Market::Methods::GetAlbums]

          # @!group Arguments

          # @return [Integer] ID of an items owner community.
          attribute :owner_id, API::Types::Coercible::Int.optional
          # @return [Integer] Offset needed to return a specific subset of results.
          attribute :offset, API::Types::Coercible::Int.optional
          # @return [Integer] Number of items to return.
          attribute :count, API::Types::Coercible::Int.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/get_albums.rb