Class: Jerakia::Datasource::Dummy

Inherits:
Instance
  • Object
show all
Defined in:
lib/jerakia/datasource/dummy.rb

Instance Attribute Summary

Attributes inherited from Instance

#options, #request, #response

Instance Method Summary collapse

Methods inherited from Instance

#answer, feature, #features?, #initialize, option, set_options, validate_options

Constructor Details

This class inherits a constructor from Jerakia::Datasource::Instance

Instance Method Details

#lookupObject


3
4
5
# File 'lib/jerakia/datasource/dummy.rb', line 3

def lookup
  answer options[:return]
end