Class: Apify
- Inherits:
-
Object
- Object
- Apify
- Defined in:
- lib/apify.rb
Instance Method Summary collapse
Instance Method Details
#update_route_json ⇒ Object
3 4 5 6 |
# File 'lib/apify.rb', line 3 def update_route_json load Rails.application.root.join('config/routes.rb') save_to_file(get_resources) end |