# File lib/fog/identity/openstack/v3/requests/create_endpoint.rb, line 6 def create_endpoint(endpoint) request( :expects => [201], :method => 'POST', :path => "endpoints", :body => Fog::JSON.encode(:endpoint => endpoint) ) end