Class: Tama::Controllers::TamaTestController

Inherits:
TamaController show all
Defined in:
lib/controllers/controller.rb

Overview

TamaTestController does the same as TamaController but reads output from a file on disk. It doesn’t actually make any requests to Wakame or Ec2

Instance Attribute Summary

Attributes inherited from Controller

#api

Instance Method Summary collapse

Methods inherited from Controller

#method_missing

Constructor Details

#initializeTamaTestController

Returns a new instance of TamaTestController.



55
56
57
# File 'lib/controllers/controller.rb', line 55

def initialize
  self.api = [A::WakameApiTest.new,A::Ec2ApiTest.new]
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Tama::Controllers::Controller