lib/saml/kit/builders/metadata.rb in saml-kit-1.0.14 vs lib/saml/kit/builders/metadata.rb in saml-kit-1.0.15

- old
+ new

@@ -20,17 +20,17 @@ @entity_id = configuration.entity_id @configuration = configuration end def build_service_provider - @service_provider = Saml::Kit::ServiceProviderMetadata.builder(configuration: configuration) do |x| - yield x if block_given? + @service_provider = Saml::Kit::ServiceProviderMetadata.builder(configuration: configuration) do |xx| + yield xx if block_given? end end def build_identity_provider - @identity_provider = Saml::Kit::IdentityProviderMetadata.builder(configuration: configuration) do |x| - yield x if block_given? + @identity_provider = Saml::Kit::IdentityProviderMetadata.builder(configuration: configuration) do |xx| + yield xx if block_given? end end def build Saml::Kit::Metadata.from(to_xml)