Sha256: 7f35782a74ebdbcf64ac6545c39c3c487ed6353d739aa65d4f06acbb11368874
Contents?: true
Size: 1.38 KB
Versions: 1
Compression:
Stored size: 1.38 KB
Contents
# frozen_string_literal: true require 'vk/api/objects' require 'vk/schema/namespace' module Vk module API class Market < Vk::Schema::Namespace # @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json class MarketItem < Vk::Schema::Object # @return [Integer] Item ID attribute :id, API::Types::Coercible::Int # @return [Integer] Item owner's ID attribute :owner_id, API::Types::Coercible::Int # @return [String] Item title attribute :title, API::Types::Coercible::String # @return [String] Item description attribute :description, API::Types::Coercible::String # @return [API::Market::Price] @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json attribute :price, Dry::Types[API::Market::Price] # @return [API::Market::MarketCategory] @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json attribute :category, Dry::Types[API::Market::MarketCategory] # @return [Integer] Date when the item has been created in Unixtime attribute :date, API::Types::Coercible::Int # @return [String] URL of the preview image attribute :thumb_photo, API::Types::Coercible::String.optional # @return [Integer] Information whether the item is available attribute :availability, API::Types::Coercible::Int 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/market_item.rb |