ManageIQ/manageiq-automation_engine

View on GitHub
lib/miq_automation_engine/service_models/miq_ae_service_storage.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
module MiqAeMethodService
  class MiqAeServiceStorage < MiqAeServiceModelBase
    expose :ext_management_systems, :association => true
    expose :unregistered_vms,       :association => true
    expose :to_s
    expose :scan, :override_return => true

    def show_url
      URI.join(MiqRegion.my_region.remote_ui_url, "storage/show/#{@object.id}").to_s
    end
  end
end