class RubyAem::Result

Result class represents the result of a client call. It contains the following attributes:

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