ManageIQ/manageiq

View on GitHub
app/models/orchestration_template/orchestration_resource.rb

Summary

Maintainability
A
0 mins
Test Coverage
B
83%
class OrchestrationTemplate
  class OrchestrationResource
    attr_accessor :name
    attr_accessor :type

    def initialize(hash = {})
      hash.each { |key, value| public_send(:"#{key}=", value) }
    end
  end
end