class RubyAem::Result
Result
class represents the result of a client call. It contains the following attributes:
-
message: a message string containing the description of the result
-
response: a
RubyAem::Response
response from AEM -
data: the data payload, which can be of any type depending on the API call
e.g. is_* and exists method provide result with boolean data. Some API calls result doesn't contain any data.
Attributes
data[RW]
message[RW]
response[R]
Public Class Methods
new(message, response)
click to toggle source
Initialise a result.
@param message result message @param response HTTP response @return new RubyAem::Result
instance
# File lib/ruby_aem/result.rb, line 33 def initialize(message, response) @message = message @response = response end