Class: NetAtlas::Resource::DataSource

Inherits:
Base
  • Object
show all
Defined in:
lib/netatlas/resource/data_source.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#last_resultObject

Returns the value of attribute last_result.



5
6
7
# File 'lib/netatlas/resource/data_source.rb', line 5

def last_result
  @last_result
end

Instance Method Details

#get_pluginObject



7
8
9
10
# File 'lib/netatlas/resource/data_source.rb', line 7

def get_plugin
  puts "plugin = #{plugin}"
  @real_plugin ||= eval "NetAtlas::Plugin::#{plugin}.new"
end