Module: RubyTCC::REST::KeepAlive

Included in:
API
Defined in:
lib/rubytcc/rest/keep_alive.rb

Instance Method Summary collapse

Instance Method Details

#keep_alive(options = {}) ⇒ Object



6
7
8
9
10
# File 'lib/rubytcc/rest/keep_alive.rb', line 6

def keep_alive(options = {})
	module_name = Module.nesting[0].to_s.split("::").last
	options[:sessionID] ||= self.session_id
	complete_post(module_name, module_name, options)
end