lib/ig_markets/dealing_platform/streaming_methods.rb
def start_subscriptions(subscriptions, options = {})
        lightstreamer_subscriptions = Array(subscriptions).compact.map(&:lightstreamer_subscription)

        return if lightstreamer_subscriptions.empty?

        @lightstreamer.start_subscriptions lightstreamer_subscriptions, options
      end
# Starts streaming data from the passed Lightstreamer subscription(s). The return value indicates the error state,
# if any, for each subscription.
#
# @param [Array<Streaming::Subscription>] subscriptions
# @param [Hash] options The options to start the subscriptions with. See the documentation for
#        `Lightstreamer::Subscription#start` for details of the accepted options.
#
# @return [Array<Lightstreamer::LightstreamerError, nil>] An array with one entry per subscription which indicates
#         the error state returned for that subscription's start request, or `nil` if no error occurred.
Starts streaming data from the passed Lightstreamer subscription(s). The return value indicates the error state,
if any, for each subscription.
Starts streaming data from the passed Lightstreamer subscription ( s ) . The return value indicates the error state if any for each subscription .
def start_subscriptions(subscriptions, options = {})
        lightstreamer_subscriptions = Array(subscriptions).compact.map(&:lightstreamer_subscription)
        return if lightstreamer_subscriptions.empty?
        @lightstreamer.start_subscriptions lightstreamer_subscriptions, options
      end
def start_subscriptions ( subscriptions , options = { } ) lightstreamer_subscriptions = Array ( subscriptions ) . compact . map ( & :lightstreamer_subscription ) return if lightstreamer_subscriptions . empty? @lightstreamer . start_subscriptions lightstreamer_subscriptions , options end
Starts streaming data from the passed Lightstreamer subscription(s).
Starts streaming data from the passed Lightstreamer subscription ( s ) .
An array with one entry per subscription which indicates the error state returned for that subscription's start request, or `nil` if no error occurred.
An array with one entry per subscription which indicates the error state returned for that subscription ' s start request or ` nil ` if no error occurred .
Array<Lightstreamer::LightstreamerError, nil>
subscriptions
options
options The options to start the subscriptions with. See the documentation for `Lightstreamer::Subscription#start` for details of the accepted options.
options The options to start the subscriptions with . See the documentation for ` Lightstreamer :: Subscription#start ` for details of the accepted options .