//
//  APMServicesGenerosity.h
//  APMServices
//
//  Created by Vincent Ducastel on 07/08/2015.
//  Copyright (c) 2015 Moonmiles. All rights reserved.
//

@class APMGenerosity;

@interface APMServicesGenerosity : NSObject

+(void)generosityList:(NSString*)classId generosityListSuccess:(void (^)(NSMutableArray* generosities))generosityListSuccess failure:(void (^)(NSError* error))failure;
+(void)generositySave:(APMGenerosity*)generosity value:(NSInteger)value frequence:(NSInteger)frequence ceiling:(NSInteger)ceiling generositySaveSuccess:(void (^)(APMGenerosity* generosity))generositySaveSuccess failure:(void (^)(NSError* error))failure;
+(void)generosityRemove:(APMGenerosity*)generosity generosityRemoveSuccess:(void (^)(APMGenerosity* generosity))generosityRemoveSuccess failure:(void (^)(NSError* error))failure;

@end
