Class: Vk::API::Account::Offer

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/account/offer.rb

Overview

Instance Method Summary collapse

Instance Method Details

#descriptionString

Returns Offer description.

Returns:

  • (String)

    Offer description



21
# File 'lib/vk/api/account/offer.rb', line 21

attribute :description, API::Types::Coercible::String.optional.default(nil)

#idInteger

Returns Offer ID.

Returns:

  • (Integer)

    Offer ID



11
# File 'lib/vk/api/account/offer.rb', line 11

attribute :id, API::Types::Coercible::Int.optional.default(nil)

#imgString

Returns URL of the preview image.

Returns:

  • (String)

    URL of the preview image



23
# File 'lib/vk/api/account/offer.rb', line 23

attribute :img, API::Types::Coercible::String.optional.default(nil)

#instructionString

Returns Instruction how to process the offer.

Returns:

  • (String)

    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_htmlString

Returns Instruction how to process the offer (HTML format).

Returns:

  • (String)

    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)

#priceInteger

Returns Offer price.

Returns:

  • (Integer)

    Offer price



27
# File 'lib/vk/api/account/offer.rb', line 27

attribute :price, API::Types::Coercible::Int.optional.default(nil)

#short_descriptionString

Returns Offer short description.

Returns:

  • (String)

    Offer short description



19
# File 'lib/vk/api/account/offer.rb', line 19

attribute :short_description, API::Types::Coercible::String.optional.default(nil)

#tagString

Returns Offer tag.

Returns:

  • (String)

    Offer tag



25
# File 'lib/vk/api/account/offer.rb', line 25

attribute :tag, API::Types::Coercible::String.optional.default(nil)

#titleString

Returns Offer title.

Returns:

  • (String)

    Offer title



13
# File 'lib/vk/api/account/offer.rb', line 13

attribute :title, API::Types::Coercible::String.optional.default(nil)