Module: TinkoffInvest::V1::Market::SearchByFigi

Included in:
Client
Defined in:
lib/tinkoff_invest/v1/market/search_by_figi.rb

Instance Method Summary collapse

Instance Method Details

#search_by_figi(figi:) ⇒ Object



7
8
9
10
11
12
# File 'lib/tinkoff_invest/v1/market/search_by_figi.rb', line 7

def search_by_figi(figi:)
  response = connection.get('market/search/by-figi') do |request|
    request.params['figi'] = figi
  end
  response.body if response.success?
end