class Ecoportal::API::Common::BaseModel::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/base_model.rb, line 6 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