Class: LogicalConstruct::ResolutionServer::Application

Inherits:
RoadForest::Application
  • Object
show all
Defined in:
lib/logical-construct/target/resolution-server.rb

Instance Method Summary collapse

Instance Method Details

#setupObject



9
10
11
12
13
14
15
16
17
# File 'lib/logical-construct/target/resolution-server.rb', line 9

def setup
  router.add  :root,              [],                    :read_only,  Models::Navigation
  router.add  :status,            ["status"],            :read_only,  Models::ServerStatus
  router.add  :manifest,          ["manifest"],          :leaf,       Models::ServerManifest
  router.add  :unresolved_plans,  ["unresolved_plans"],  :parent,     Models::UnresolvedPlansList
  router.add  :full_plans,        ["full_plans"],        :parent,     Models::FullPlansList
  router.add  :plan,              ["plans",'*'],         :leaf,       Models::Plan
  router.add  :file_content,      ["files","*"],         :leaf,       Models::PlanContent
end