Sha256: 43563d1996bcdd567d4b53719d586242f33d6dd6b8d4606a1b2f109fdd9021ed

Contents?: true

Size: 1.01 KB

Versions: 1

Compression:

Stored size: 1.01 KB

Contents

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

module Vk
  module API
    class Orders < Vk::Schema::Namespace
      module Methods
        # Returns a list of orders.
        class Get < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'orders.get'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :count number of returned orders.
          #   @option arguments [Boolean] :test_mode if this parameter is set to 1, this method returns a list of test mode orders. By default — 0.
          #   @return [Orders::Methods::Get]

          # @!group Arguments

          # @return [Integer] number of returned orders.
          attribute :count, API::Types::Coercible::Int.optional
          # @return [Boolean] if this parameter is set to 1, this method returns a list of test mode orders. By default — 0.
          attribute :test_mode, 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/orders/methods/get.rb