class Ecoportal::API::Common::Content::DoubleModel::UnlinkedModel

Public Class Methods

new(msg = "Something went wrong when linking the document.", from: nil, key: nil) click to toggle source
Calls superclass method
# File lib/ecoportal/api/common/content/double_model.rb, line 15
def initialize (msg = "Something went wrong when linking the document.", from: nil, key: nil)
  msg += " From: #{from}." if from
  msg += " key: #{key}."   if key
  super(msg)
end