Class: Vk::API::Leads::Methods::CheckUser
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Leads::Methods::CheckUser
- Defined in:
- lib/vk/api/leads/methods/check_user.rb
Overview
Checks if the user can start the lead.
Arguments collapse
-
#age ⇒ Integer
User age.
-
#country ⇒ String
User country code.
-
#lead_id ⇒ Integer
Lead ID.
-
#test_result ⇒ Integer
Value to be return in 'result' field when test mode is used.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Leads::Methods::CheckUser
|
# File 'lib/vk/api/leads/methods/check_user.rb', line 15
|
Instance Method Details
#age ⇒ Integer
Returns User age.
30 |
# File 'lib/vk/api/leads/methods/check_user.rb', line 30 attribute :age, API::Types::Coercible::Int.optional.default(nil) |
#country ⇒ String
Returns User country code.
32 |
# File 'lib/vk/api/leads/methods/check_user.rb', line 32 attribute :country, API::Types::Coercible::String.optional.default(nil) |