Sha256: 9440d186c0f5a4c869fda6be03f039aa88fcf4e8007e98ebf6181b827c91ea8c

Contents?: true

Size: 1.31 KB

Versions: 1

Compression:

Stored size: 1.31 KB

Contents

# frozen_string_literal: true
require 'vk/api/objects'
require 'vk/schema/namespace'

module Vk
  module API
    class Account < Vk::Schema::Namespace
      # @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
      class Offer < Vk::Schema::Object
        # @return [Integer] Offer ID
        attribute :id, API::Types::Coercible::Int.optional
        # @return [String] Offer title
        attribute :title, API::Types::Coercible::String.optional
        # @return [String] Instruction how to process the offer
        attribute :instruction, API::Types::Coercible::String.optional
        # @return [String] Instruction how to process the offer (HTML format)
        attribute :instruction_html, API::Types::Coercible::String.optional
        # @return [String] Offer short description
        attribute :short_description, API::Types::Coercible::String.optional
        # @return [String] Offer description
        attribute :description, API::Types::Coercible::String.optional
        # @return [String] URL of the preview image
        attribute :img, API::Types::Coercible::String.optional
        # @return [String] Offer tag
        attribute :tag, API::Types::Coercible::String.optional
        # @return [Integer] Offer price
        attribute :price, API::Types::Coercible::Int.optional
      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/account/offer.rb