module RailsNew::Api
Constants
- API_SERVER
Public Instance Methods
template_url_for(template_key)
click to toggle source
# File lib/rails_new/api.rb, line 7 def template_url_for(template_key) "#{API_SERVER}/api/v1/templates/#{template_key}.json" end