class ObjectTopologyProvider

Attributes

uri_resource[R]

Public Class Methods

new(topology) click to toggle source
# File lib/providers/customs/object_topology_provider.rb, line 4
def initialize(topology)
    @topology = topology
end

Public Instance Methods

get_path_between(source, destination) click to toggle source
# File lib/providers/customs/object_topology_provider.rb, line 12
def get_path_between(source, destination)
      raise NotImplementedError, "ITopologyProvider: Implement this method in a child class"
end
get_topology() click to toggle source
# File lib/providers/customs/object_topology_provider.rb, line 8
def get_topology
   @topology.topology_elements
end