Class: Vk::API::Orders::Methods::GetAmount

Inherits:
Schema::Method
  • Object
show all
Defined in:
lib/vk/api/orders/methods/get_amount.rb

Overview

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Orders::Methods::GetAmount

Parameters:

  • arguments (Hash)

Options Hash (arguments):


# File 'lib/vk/api/orders/methods/get_amount.rb', line 15

Instance Method Details

#user_idInteger


24
# File 'lib/vk/api/orders/methods/get_amount.rb', line 24

attribute :user_id, API::Types::Coercible::Int

#votesArray


26
# File 'lib/vk/api/orders/methods/get_amount.rb', line 26

attribute :votes, API::Types::Coercible::Array.member(API::Types::Coercible::String).constrained(max_size: 100)