Sha256: 80bc17b15b2cd3ed5f252802b77d24fcab6d200134d9ef985c984e0711bbb25b
Contents?: true
Size: 659 Bytes
Versions: 11
Compression:
Stored size: 659 Bytes
Contents
<%- assert_locals service -%> @configure ||= begin namespace = <%= service.namespace.split("::").reject(&:empty?).inspect %> parent_config = while namespace.any? parent_name = namespace.join "::" parent_const = const_get parent_name break parent_const.configure if parent_const.respond_to? :configure namespace.pop end default_config = <%= service.client_name %>::Configuration.new parent_config <%= render partial: "service/client/self_configure_defaults", locals: {service: service} %> default_config end yield @configure if block_given? @configure
Version data entries
11 entries across 11 versions & 1 rubygems