client/lib/deltacloud/client/models/base.rb
# Populate instance variables in model
# This method could also be used to update the variables for already
# initialized models. Look at +Instance#reload!+ method.
#
Populate instance variables in model
This method could also be used to update the variables for already
initialized models. Look at +Instance#reload!+ method.
Populate instance variables in model This method could also be used to update the variables for already initialized models . Look at + Instance#reload! + method .
def update_instance_variables!(opts={})
      @options.merge!(opts)
      @options.each { |key, val| self.instance_variable_set("@#{key}", val) unless val.nil? }
      self
    end
def update_instance_variables! ( opts = { } ) @options . merge! ( opts ) @options . each { | key , val | self . instance_variable_set ( "@#{key}" , val ) unless val . nil? } self end
Populate instance variables in model
This method could also be used to update the variables for already
initialized models.
Populate instance variables in model This method could also be used to update the variables for already initialized models .
opts
<not_specific>