Exception: SisRuby::MissingIdError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- SisRuby::MissingIdError
- Defined in:
- lib/sis_ruby/exceptions/missing_id_error.rb
Instance Method Summary collapse
-
#initialize(id_field_name) ⇒ MissingIdError
constructor
A new instance of MissingIdError.
- #to_s ⇒ Object
Constructor Details
#initialize(id_field_name) ⇒ MissingIdError
Returns a new instance of MissingIdError.
4 5 6 |
# File 'lib/sis_ruby/exceptions/missing_id_error.rb', line 4 def initialize(id_field_name) @id_field_name = id_field_name end |
Instance Method Details
#to_s ⇒ Object
8 9 10 |
# File 'lib/sis_ruby/exceptions/missing_id_error.rb', line 8 def to_s "Missing required id field #{@id_field_name}}" end |