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

#description ⇒ String

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)

#id ⇒ Integer

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)

#img ⇒ String

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)

#instruction ⇒ String

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_html ⇒ String

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)

#price ⇒ Integer

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_description ⇒ String

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)

#tag ⇒ String

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)

#title ⇒ String

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)