Module: TaaS

Defined in:
lib/taas.rb,
lib/taas_client.rb,
lib/helper/contract.rb,
lib/helper/contracts.rb,
lib/helper/output_parser.rb,
lib/helper/command_executer.rb,
lib/helper/parameter_factory.rb

Defined Under Namespace

Classes: CommandExecuter, Contract, Contracts, OutputParser, ParameterFactory, TaaSClient

Class Method Summary collapse

Class Method Details

.client(url, timeout) ⇒ Object



11
12
13
# File 'lib/taas.rb', line 11

def self.client(url, timeout)
  TaaSClient.new(url, timeout)
end

.start_server(contract_file) ⇒ Object



6
7
8
9
# File 'lib/taas.rb', line 6

def self.start_server(contract_file)
  puts "Starting TaaS server with contract file: #{contract_file}"
  CommandExecuter.execute_command(File.dirname(__FILE__),"ruby server.rb #{contract_file}")
end