class Delighted::AutopilotMembership

Public Class Methods

delete(person_id_hash, client = Delighted.shared_client) click to toggle source
# File lib/delighted/resources/autopilot_membership.rb, line 6
def delete(person_id_hash, client = Delighted.shared_client)
  json = client.delete_json(path, person_id_hash)
  json.merge(:person => Person.new(json[:person]))
end