         return self
     }
     
-    func succeed(value : T) {
+    public func succeed(value : T) {
         self.state = FetchState.Success(Wrapper(value))
         self.onSuccess?(value)
     }
     
-    func fail(_ error : NSError? = nil) {
+    public func fail(_ error : NSError? = nil) {
         self.state = FetchState.Failure(error)
         self.onFailure?(error)
     }
     
-    var hasFailed : Bool {
+    public var hasFailed : Bool {
         switch self.state {
         case FetchState.Failure(_):
             return true

    
    public typealias Failer = (NSError?) -> ()
    
    private var onSuccess : Succeeder?
    
    private var onFailure : Failer?
    
    private var state : FetchState<T> = FetchState.Pending
    
    public init() {}
    

            }
    }
    
    public var hasSucceeded : Bool {
        switch self.state {
        case FetchState.Success(_):
            return true
