Module: Fog::Hyperv::ModelExtends

Included in:
Compute::Hyperv::Server, Model
Defined in:
lib/fog/model.rb

Instance Method Summary collapse

Instance Method Details

#lazy_attributes(*attrs) ⇒ Object



4
5
6
7
# File 'lib/fog/model.rb', line 4

def lazy_attributes(*attrs)
  @lazy_attributes ||= []
  @lazy_attributes += attrs.map(&:to_s).map(&:to_sym)
end