Method: CTM::Base#save

Defined in:
lib/ctm/base.rb

#save(options = {}) ⇒ Object



35
36
37
38
39
40
# File 'lib/ctm/base.rb', line 35

def save(options={})
  #puts "save: #{options.inspect}"
  path_str = "/api/v1/#{@list_type_path}/#{@id}.json"
  #puts path_str
  self.class.put(path_str, :body => options.merge(:auth_token => @token))
end