Class: RTM::TMQL::Engine

Inherits:
Object
  • Object
show all
Defined in:
lib/rtm/tmql.rb

Overview

A TMQL Engine. Every TMQL-Engine for RTM must subclass this class.

Direct Known Subclasses

TMQL4JEngine

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(params = {}) ⇒ Engine

Returns a new instance of Engine.



46
47
48
# File 'lib/rtm/tmql.rb', line 46

def initialize(params={})
  @params = params
end

Class Method Details

.create(params = {}) ⇒ Object

Create a new TMQL-Engine. For now, this is hard-coded to TMQL4J. Once there are more engines, this structure could be similar to RTM::Engine



42
43
44
# File 'lib/rtm/tmql.rb', line 42

def self.create(params={})
  TMQL4JEngine.new(params)
end