Skip to content

Open-source live-chat, email support, omni-channel desk. An alternative to Intercom, Zendesk, Salesforce Service Cloud etc. 🔥💬

271 B
Raw Blame
# frozen_string_literal: true

class CustomExceptions::Inbox::LimitExceeded < CustomExceptions::Base
  def message
    'Account limit exceeded. Upgrade to a higher plan'
  end

  def to_hash
    { error: message }
  end

  def http_status
    :payment_required
  end
end