Class: Vk::API::Account::Offer
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Account::Offer
- Defined in:
- lib/vk/api/account/offer.rb
Overview
Instance Method Summary collapse
-
#description ⇒ String
Offer description.
-
#id ⇒ Integer
Offer ID.
-
#img ⇒ String
URL of the preview image.
-
#instruction ⇒ String
Instruction how to process the offer.
-
#instruction_html ⇒ String
Instruction how to process the offer (HTML format).
-
#price ⇒ Integer
Offer price.
-
#short_description ⇒ String
Offer short description.
-
#tag ⇒ String
Offer tag.
-
#title ⇒ String
Offer title.
Instance Method Details
#description ⇒ String
Returns Offer description.
21 |
# File 'lib/vk/api/account/offer.rb', line 21 attribute :description, API::Types::Coercible::String.optional.default(nil) |
#id ⇒ Integer
Returns Offer ID.
11 |
# File 'lib/vk/api/account/offer.rb', line 11 attribute :id, API::Types::Coercible::Int.optional.default(nil) |
#img ⇒ String
Returns URL of the preview image.
23 |
# File 'lib/vk/api/account/offer.rb', line 23 attribute :img, API::Types::Coercible::String.optional.default(nil) |
#instruction ⇒ String
Returns Instruction how to process the offer.
15 |
# File 'lib/vk/api/account/offer.rb', line 15 attribute :instruction, API::Types::Coercible::String.optional.default(nil) |
#instruction_html ⇒ String
Returns Instruction how to process the offer (HTML format).
17 |
# File 'lib/vk/api/account/offer.rb', line 17 attribute :instruction_html, API::Types::Coercible::String.optional.default(nil) |
#price ⇒ Integer
Returns Offer price.
27 |
# File 'lib/vk/api/account/offer.rb', line 27 attribute :price, API::Types::Coercible::Int.optional.default(nil) |
#short_description ⇒ String
Returns Offer short description.
19 |
# File 'lib/vk/api/account/offer.rb', line 19 attribute :short_description, API::Types::Coercible::String.optional.default(nil) |