lib/ig_markets/dealing_platform/market_methods.rb
# Searches markets using a search term and returns an array of results.
#
# @param [String] search_term The search term to use.
#
# @return [Array<MarketOverview>]
Searches markets using a search term and returns an array of results.
Searches markets using a search term and returns an array of results .
def search(search_term)
        result = @dealing_platform.session.get("markets?searchTerm=#{search_term}").fetch :markets
        @dealing_platform.instantiate_models MarketOverview, result
      end
def search ( search_term ) result = @dealing_platform . session . get ( "markets?searchTerm=#{search_term}" ) . fetch :markets @dealing_platform . instantiate_models MarketOverview , result end
Searches markets using a search term and returns an array of results.
Searches markets using a search term and returns an array of results .
None
Array<MarketOverview>
search_term
search_term The search term to use.
search_term The search term to use .