Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
Noah
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Noah
Commits
d271e742
Commit
d271e742
authored
Feb 25, 2011
by
John E. Vincent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bit more stubbing before I forget
parent
97fc7133
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
app.rb
lib/noah/app.rb
+2
-0
ephemeral_routes.rb
lib/noah/ephemeral_routes.rb
+15
-0
No files found.
lib/noah/app.rb
View file @
d271e742
...
...
@@ -62,6 +62,8 @@ module Noah
load
File
.
join
(
File
.
dirname
(
__FILE__
),
'service_routes.rb'
)
load
File
.
join
(
File
.
dirname
(
__FILE__
),
'application_routes.rb'
)
load
File
.
join
(
File
.
dirname
(
__FILE__
),
'configuration_routes.rb'
)
#load File.join(File.dirname(__FILE__), 'watcher_routes.rb')
#load File.joint(File.dirname(__FILE__), 'ephemeral_routes.rb')
end
end
lib/noah/ephemeral_routes.rb
0 → 100644
View file @
d271e742
class
Noah
::
App
# Stubbing Ephemeral endpoints
get
'/e/*'
do
# Some logic to handle splats for ephemerals
# Eventually I'll move to root path
end
put
'/e/*'
do
# Some logic for creating ephemerals
end
delete
'/e/*'
do
# See previous two entries
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment