lib/maitredee.rb in maitredee-0.8.3 vs lib/maitredee.rb in maitredee-0.8.4
- old
+ new
@@ -136,11 +136,11 @@
path = Pathname.new(schema_path).join("#{key}.json")
hash[key] = JSONSchemer.schema(path)
end
end
- # fetch configured app name or automatically fetch from Rails or from ENV["MAITREDEE_APP_NAME"]
+ # fetch configured app name or automatically fetch from Rails or from `ENV["MAITREDEE_APP_NAME"]`
# used for generating queue_resource_name
#
# @return [String]
def app_name
@app_name ||=
@@ -158,10 +158,10 @@
# set app_name instead of using default
# @param [String]
attr_writer :app_name
- # fetch configured namespace or automatically fetch from ENV["MAITREDEE_NAMESPACE"]
+ # fetch configured namespace or automatically fetch from `ENV["MAITREDEE_NAMESPACE"]`
# @return [String]
def namespace
@namespace ||=
ENV["MAITREDEE_NAMESPACE"] || raise("must set namespace for maitredee")
end