Sha256: 996862a3ff798e2df470ad307ce8308f4a188a0591288da177b473c1fc7afb1f
Contents?: true
Size: 568 Bytes
Versions: 11
Compression:
Stored size: 568 Bytes
Contents
module Samlsso class AttributeService attr_reader :attributes attr_reader :name attr_reader :index def initialize @index = "1" @attributes = [] end def configure(&block) instance_eval &block end def configured? @attributes.length > 0 && !@name.nil? end def service_name(name) @name = name end def service_index(index) @index = index end def add_attribute(options={}) attributes << options end end end
Version data entries
11 entries across 11 versions & 1 rubygems