Class: Secure::RemoteExceptionMS

Inherits:
Struct
  • Object
show all
Defined in:
lib/appswarm/secure_con.rb,
lib/appswarm/secure_con.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(emb = nil) ⇒ RemoteExceptionMS

Returns a new instance of RemoteExceptionMS.



252
253
254
255
256
257
# File 'lib/appswarm/secure_con.rb', line 252

def initialize(emb=nil)
  self.embedded=[]
  if emb.is_a?(Exception)
    self.embedded=[emb.to_s,emb.backtrace.to_s]
  end
end

Instance Attribute Details

#embeddedObject

Returns the value of attribute embedded

Returns:

  • (Object)

    the current value of embedded



250
251
252
# File 'lib/appswarm/secure_con.rb', line 250

def embedded
  @embedded
end