Exception: AtomicLti::Exceptions::NoLTIPlatform

Inherits:
AtomicLtiNotFoundException show all
Defined in:
app/lib/atomic_lti/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(iss:, deployment_id: nil) ⇒ NoLTIPlatform

Returns a new instance of NoLTIPlatform.



90
91
92
93
94
95
96
# File 'app/lib/atomic_lti/exceptions.rb', line 90

def initialize(iss:, deployment_id: nil)
  msg = "No LTI Platform associated with the LTI Install. iss: #{iss}"
  if iss && deployment_id
    msg = "No LTI Platform associated with the LTI Install. iss: #{iss} and deployment_id #{deployment_id}"
  end
  super(msg)
end