Sha256: 47f76e2cf2ac1ef67eed8c9367dc0789d25a275397a141202e714d357d953a79

Contents?: true

Size: 338 Bytes

Versions: 102

Compression:

Stored size: 338 Bytes

Contents

module OpsManagerUiDrivers
  module Version17
    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.42.0 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.41.0 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.40.1 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.40.0 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.39.0 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.38.0 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.37.0 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.36.0 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.35.2 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.35.1 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.35.0 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.34.1 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.34.0 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.33.1 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.33.0 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.32.1 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.32.0 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.31.3 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.31.2 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.31.1 lib/ops_manager_ui_drivers/version17/job_status_helper.rb