Sha256: 9acbf43fd48335b871eebcdf2dee403bb9a4e4148bd91ee4094bc924b142864d

Contents?: true

Size: 1.28 KB

Versions: 1

Compression:

Stored size: 1.28 KB

Contents

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

module Vk
  module API
    class Market < Vk::Schema::Namespace
      module Methods
        # Returns items album's data
        class GetAlbumById < Schema::Method
          # @!group Properties

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

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :owner_id identifier of an album owner community; "Note that community id in the 'owner_id' parameter should be negative number. For example 'owner_id'=-1 matches the [vk.com/apiclub|VK API] community "
          #   @option arguments [Array] :album_ids collections identifiers to obtain data from
          #   @return [Market::Methods::GetAlbumById]

          # @!group Arguments

          # @return [Integer] identifier of an album owner community; "Note that community id in the 'owner_id' parameter should be negative number. For example 'owner_id'=-1 matches the [vk.com/apiclub|VK API] community "
          attribute :owner_id, API::Types::Coercible::Int.optional
          # @return [Array] collections identifiers to obtain data from
          attribute :album_ids, 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/market/methods/get_album_by_id.rb