Exception: TMS::Errors::NoRelation
- Inherits:
-
StandardError
- Object
- StandardError
- TMS::Errors::NoRelation
- Defined in:
- lib/tms_client/errors.rb
Instance Method Summary collapse
-
#initialize(rel = nil, obj = nil) ⇒ NoRelation
constructor
A new instance of NoRelation.
Constructor Details
#initialize(rel = nil, obj = nil) ⇒ NoRelation
Returns a new instance of NoRelation.
25 26 27 28 29 30 31 |
# File 'lib/tms_client/errors.rb', line 25 def initialize(rel=nil, obj=nil) = "no link relation " << "'#{rel}' " if rel << 'is available' << " for #{obj}" if obj super() end |