Class: Vk::API::Users::Military
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Users::Military
- Defined in:
- lib/vk/api/users/military.rb
Overview
Instance Method Summary collapse
-
#country_id ⇒ Integer
Country ID.
-
#from ⇒ Integer
From year.
-
#unit ⇒ String
Unit name.
-
#unit_id ⇒ Integer
Unit ID.
-
#until ⇒ Integer
Till year.
Instance Method Details
#country_id ⇒ Integer
Returns Country ID.
15 |
# File 'lib/vk/api/users/military.rb', line 15 attribute :country_id, API::Types::Coercible::Int.optional.default(nil) |
#from ⇒ Integer
Returns From year.
17 |
# File 'lib/vk/api/users/military.rb', line 17 attribute :from, API::Types::Coercible::Int.optional.default(nil) |
#unit ⇒ String
Returns Unit name.
11 |
# File 'lib/vk/api/users/military.rb', line 11 attribute :unit, API::Types::Coercible::String.optional.default(nil) |