module Payments
  class SyncTicketAccess < Payments::Base

    def self.do(id)
      purchase_profile = Payments::PurchaseProfile.find(id)
      params = { id: id }
      response = put "/purchase_profiles/#{id}/sync_ticket_access", body: params.to_json
      response.success?
    end
  end
end
