Class: Remover::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/remover/configuration.rb

Constant Summary collapse

OPTIONS =
%i(organization login password)

Instance Method Summary collapse

Instance Method Details

#load_from_options!(options) ⇒ Object



7
8
9
10
11
# File 'lib/remover/configuration.rb', line 7

def load_from_options!(options)
  OPTIONS.each do |option|
    send("#{option}=", options[option.to_s])
  end
end