Class: Velocity::Instance::SourceTest

Inherits:
APIModel
  • Object
show all
Defined in:
lib/acceleration/velocity.rb

Overview

SourceTest models an instance’s source testing, which can automatically execute a test to know if a source is correctly returning expected results.

TODO: implement

Instance Attribute Summary

Attributes inherited from APIModel

#instance

Instance Method Summary collapse

Methods inherited from APIModel

#method_missing, #resolve, #respond_to_missing?

Constructor Details

#initializeSourceTest

Create a new wrapper for the source-test functions.

Raises:

  • (NotImplementedError)


640
641
642
# File 'lib/acceleration/velocity.rb', line 640

def initialize
  raise NotImplementedError
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Velocity::Instance::APIModel

Instance Method Details

#prefixObject

The SourceTest prefix is source-test.



635
636
637
# File 'lib/acceleration/velocity.rb', line 635

def prefix
  'source-test'
end