module SantanderChile::ApiClient::Template
Constants
- TEMPLATES
Public Instance Methods
with_template(path, **objs)
click to toggle source
# File lib/santander_chile/api_client/templates/templates.rb, line 27 def with_template(path, **objs) template_file = File.read(TEMPLATES[path]) context = ERBContext.new(objs) ERB.new(template_file).result(context.get_binding) end