Sha256: fd5752b48722df9ef4ff757221595cbab586e892890a4ac520cb15f69af22b19
Contents?: true
Size: 510 Bytes
Versions: 13
Compression:
Stored size: 510 Bytes
Contents
module Saml module Kit module Buildable extend ActiveSupport::Concern class_methods do def build(*args, &block) # :yields builder builder(*args, &block).build end def build_xml(*args, &block) # :yields builder builder(*args, &block).to_xml end def builder(*args) # :yields builder builder_class.new(*args).tap do |builder| yield builder if block_given? end end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems