Class: Vk::API::Groups::MarketInfo
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Groups::MarketInfo
- Defined in:
- lib/vk/api/groups/market_info.rb
Overview
Instance Method Summary collapse
-
#contact_id ⇒ Integer
Contact person ID.
- #currency ⇒ API::Market::Currency
-
#currency_text ⇒ String
Currency name.
-
#enabled ⇒ API::Base::BoolInt
Information whether the market is enabled.
-
#main_album_id ⇒ Integer
Main market album ID.
-
#price_max ⇒ Integer
Maximum price.
-
#price_min ⇒ Integer
Minimum price.
Instance Method Details
#contact_id ⇒ Integer
Returns Contact person ID.
19 |
# File 'lib/vk/api/groups/market_info.rb', line 19 attribute :contact_id, API::Types::Coercible::Int.optional.default(nil) |
#currency ⇒ API::Market::Currency
21 |
# File 'lib/vk/api/groups/market_info.rb', line 21 attribute :currency, Dry::Types[API::Market::Currency].optional.default(nil) |
#currency_text ⇒ String
Returns Currency name.
23 |
# File 'lib/vk/api/groups/market_info.rb', line 23 attribute :currency_text, API::Types::Coercible::String.optional.default(nil) |
#enabled ⇒ API::Base::BoolInt
Returns Information whether the market is enabled.
11 |
# File 'lib/vk/api/groups/market_info.rb', line 11 attribute :enabled, API::Base::BoolInt.optional.default(nil) |
#main_album_id ⇒ Integer
Returns Main market album ID.
17 |
# File 'lib/vk/api/groups/market_info.rb', line 17 attribute :main_album_id, API::Types::Coercible::Int.optional.default(nil) |