Class: Alfresco4r::AlfSucessStream

Inherits:
Object
  • Object
show all
Defined in:
lib/alfresco4r/abstract_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data_stream, desc = nil) ⇒ AlfSucessStream

Returns a new instance of AlfSucessStream.



133
134
135
136
137
# File 'lib/alfresco4r/abstract_service.rb', line 133

def initialize(data_stream,desc=nil)
   @data_stream  = data_stream
   @message = desc
   @status = "Success"
end

Instance Attribute Details

#data_streamObject (readonly)

Returns the value of attribute data_stream.



132
133
134
# File 'lib/alfresco4r/abstract_service.rb', line 132

def data_stream
  @data_stream
end

#messageObject (readonly)

Returns the value of attribute message.



132
133
134
# File 'lib/alfresco4r/abstract_service.rb', line 132

def message
  @message
end

#statusObject (readonly)

Returns the value of attribute status.



132
133
134
# File 'lib/alfresco4r/abstract_service.rb', line 132

def status
  @status
end