Class: Ush::DuplicateCodeError
- Inherits:
-
Object
- Object
- Ush::DuplicateCodeError
- Defined in:
- lib/ush.rb
Overview
The message that the user recieves when they try to associate a used shortcode
Class Method Summary collapse
Class Method Details
.message(new, code) ⇒ Object
15 16 17 |
# File 'lib/ush.rb', line 15 def self.(new, code) "#{new} cannot be registered as '#{code}' because '#{code}' is already registered!" end |