class Fog::OpenStack::Identity::V3::Endpoint

Public Instance Methods

create() click to toggle source
# File lib/fog/openstack/identity/v3/models/endpoint.rb, line 36
def create
  requires :name
  merge_attributes(
    service.create_endpoint(attributes).body['endpoint']
  )
  self
end
destroy() click to toggle source
# File lib/fog/openstack/identity/v3/models/endpoint.rb, line 22
def destroy
  requires :id
  service.delete_endpoint(id)
  true
end
to_s() click to toggle source
# File lib/fog/openstack/identity/v3/models/endpoint.rb, line 18
def to_s
  name
end
update(attr = nil) click to toggle source
# File lib/fog/openstack/identity/v3/models/endpoint.rb, line 28
def update(attr = nil)
  requires :id, :name
  merge_attributes(
    service.update_endpoint(id, attr || attributes).body['endpoint']
  )
  self
end