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.17.0 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.16.0 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.15.0 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.14.3 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.14.2 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.14.1 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.14.0 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.13.1 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.13.0 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.12.0 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.11.0 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.10.9 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.10.8 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.10.7 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.10.6 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.10.5 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.10.4 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.10.3 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.10.2 lib/ops_manager_ui_drivers/version17/job_status_helper.rb
ops_manager_ui_drivers-2.10.1 lib/ops_manager_ui_drivers/version17/job_status_helper.rb