Class: Jets::Cfn::Builder::Api::Pages::Methods
- Defined in:
- lib/jets/cfn/builder/api/pages/methods.rb
Class Method Summary collapse
-
.uids ⇒ Object
interface method.
Methods inherited from Base
build_uids_map, find_page_index, page_limit, pages, previously_deployed
Class Method Details
.uids ⇒ Object
interface method
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/jets/cfn/builder/api/pages/methods.rb', line 5 def uids if Jets.config.cfn.build.routes == "one_apigw_method_for_all_routes" return ['ANY|/', 'ANY|/*catchall'] end routes = Jets::Router.routes routes.map do |route| "#{route.http_method}|#{route.path}" # IE: GET|posts/:id end end |