Class: Vk::API::Orders::Methods::Get
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Orders::Methods::Get
- Defined in:
- lib/vk/api/orders/methods/get.rb
Overview
Returns a list of orders.
Arguments collapse
-
#count ⇒ Integer
Number of returned orders.
-
#test_mode ⇒ Boolean
If this parameter is set to 1, this method returns a list of test mode orders.
Instance Method Summary collapse
- #initialize(arguments) ⇒ Orders::Methods::Get constructor
Methods inherited from Schema::Method
Constructor Details
Instance Method Details
#count ⇒ Integer
Returns number of returned orders.
24 |
# File 'lib/vk/api/orders/methods/get.rb', line 24 attribute :count, API::Types::Coercible::Int.optional.default(100) |
#test_mode ⇒ Boolean
Returns if this parameter is set to 1, this method returns a list of test mode orders. By default — 0.
26 |
# File 'lib/vk/api/orders/methods/get.rb', line 26 attribute :test_mode, API::Types::Form::Bool.optional.default(nil) |