Sha256: 38378e510e892369e2329ddc324837974879b8fbc1ac268b8bff63fc8ad214a3
Contents?: true
Size: 660 Bytes
Versions: 19
Compression:
Stored size: 660 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
19 entries across 19 versions & 1 rubygems