Module: RubyTCC::REST::CreateLocation

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

Instance Method Summary collapse

Instance Method Details

#create_location(options = {}) ⇒ Object



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

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