Method: Onelogin::Saml::Settings#initialize
- Defined in:
- lib/onelogin/ruby-saml-bm/settings.rb
#initialize(config = {}) ⇒ Settings
Returns a new instance of Settings.
4 5 6 7 8 9 |
# File 'lib/onelogin/ruby-saml-bm/settings.rb', line 4 def initialize(config = {}) config.each do |k,v| acc = "#{k.to_s}=".to_sym self.send(acc, v) if self.respond_to? acc end end |