Class: Vk::API::Market::Price
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Market::Price
- Defined in:
- lib/vk/api/market/price.rb
Overview
Instance Method Summary collapse
-
#amount ⇒ String
Amount.
- #currency ⇒ API::Market::Currency
-
#text ⇒ String
Text.
Instance Method Details
#amount ⇒ String
Returns Amount.
11 |
# File 'lib/vk/api/market/price.rb', line 11 attribute :amount, API::Types::Coercible::String.optional.default(nil) |
#currency ⇒ API::Market::Currency
13 |
# File 'lib/vk/api/market/price.rb', line 13 attribute :currency, Dry::Types[API::Market::Currency].optional.default(nil) |