Sha256: 5eb0a35c4057dce93afc7b2d7e5eb99129ef1b75999118018b7aac1d6be39ab7

Contents?: true

Size: 338 Bytes

Versions: 102

Compression:

Stored size: 338 Bytes

Contents

module OpsManagerUiDrivers
  module Version14
    class JobStatusHelper
      def self.from_job_row(job_row)
        ips_string = job_row.find('.actual-ips').text
        ips        = ips_string.split(', ')
        new(ips: ips)
      end

      def initialize(ips:)
        @ips = ips
      end

      attr_reader :ips
    end
  end
end

Version data entries

102 entries across 102 versions & 1 rubygems

Version Path
ops_manager_ui_drivers-2.0.2 lib/ops_manager_ui_drivers/version14/job_status_helper.rb
ops_manager_ui_drivers-2.0.0 lib/ops_manager_ui_drivers/version14/job_status_helper.rb