# File lib/openstack/identity/connection_v2.rb, line 13 def create_tenant(options) req_body = JSON.generate('tenant' => options) response = @connection.req('POST', '/tenants', data: req_body) OpenStack::Identity::Tenant.new(JSON.parse(response.body)['tenant']) end