Module: VagrantPlugins::Skytap::API::SpecifiedAttributes::ClassMethods

Defined in:
lib/vagrant-skytap/api/specified_attributes.rb

Instance Method Summary collapse

Instance Method Details

#reads(*names) ⇒ Object



6
7
8
9
10
11
12
13
14
# File 'lib/vagrant-skytap/api/specified_attributes.rb', line 6

def reads(*names)
  @readables ||= []

  names.each do |name|
    define_method(name) do
      get_api_attribute(name.to_s)
    end
  end
end