Sha256: 3d4262791eb2445b577718356c62956084725093a52590b8063026c729e0e904
Contents?: true
Size: 473 Bytes
Versions: 8
Compression:
Stored size: 473 Bytes
Contents
module AFMotion class HTTPResult attr_accessor :operation, :object, :error def initialize(operation, responseObject, error) self.operation = operation self.object = responseObject self.error = error end def success? !failure? end def failure? !!error end def body if operation && operation.responseData NSString.stringWithUTF8String(operation.responseData.bytes) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems