Module: Panda::Builders::DeleteBuilder

Defined in:
lib/panda/modules/builders.rb

Instance Method Summary collapse

Instance Method Details

#delete(id) ⇒ Object



27
28
29
30
# File 'lib/panda/modules/builders.rb', line 27

def delete(id)
  response = connection.delete(full_object_url(object_url(one_path,{:id =>id})))
  response['deleted'] == 'ok'
end