module YandexDirect::V5::VCards

Public Instance Methods

add_v_cards(params) click to toggle source

Creates virtual business cards

@see tech.yandex.com/direct/doc/ref-v5/vcards/add-docpage/

# File lib/yandex_direct/v5/v_cards.rb, line 9
def add_v_cards(params)
  response = YandexDirect::V5::Request.new(self, @token, 'vcards', 'add', params).perform
  @available_units = response[:available_units]
  response[:result]
end
v_cards(params) click to toggle source

Returns the vCards that match the specified criteria

@see tech.yandex.com/direct/doc/ref-v5/vcards/get-docpage/

# File lib/yandex_direct/v5/v_cards.rb, line 18
def v_cards(params)
  response = YandexDirect::V5::Request.new(self, @token, 'vcards', 'get', params).perform
  @available_units = response[:available_units]
  response[:result]
end