class Rancher::ManagementApi::Manager
Attributes
conn[R]
Public Class Methods
new(conn = nil, host: nil)
click to toggle source
# File lib/rancher/management_api/manager.rb, line 6 def initialize(conn = nil, host: nil) @conn = conn || ManagementApi.connection(host) end
Public Instance Methods
create_project(name)
click to toggle source
# File lib/rancher/management_api/manager.rb, line 10 def create_project(name) Project.create(conn, name) end