Skip to content

Commit

Permalink
Release version 1.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
svenroed committed Jun 28, 2014
1 parent c000aae commit 8e25f65
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
38 changes: 38 additions & 0 deletions KatalysatorSDK.framework/Versions/A/Headers/KATCouponManager.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
//
// KATCouponManager.h
// KatalysatorSample
//
// Created by Sven Roeder on 26/06/14.
// Copyright (c) 2014 Katalysator AB. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "KATBeaconConfiguration.h"


/**
* KATCouponHandler defines the callback for generating a coupon.
*
* @since v1.1.4
*/
typedef void(^KATCouponHandler)(NSDictionary *coupon);


@interface KATCouponManager : NSObject


/**
* Allows to generate a coupon.
* This also depends on the beacon configuration on the backend.
*
* @param key coupon storekey
* @param config the api configuration
* @param completion the callback for generating a coupon
*
* @return void
* @since v1.1.4
*/
+ (void)couponForId:(NSString *)key configuration:(KATBeaconConfiguration *)config completion:(KATCouponHandler)completion;


@end
28 changes: 28 additions & 0 deletions KatalysatorSDK.framework/Versions/A/Headers/KATSurveyManager.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
//
// KATSurveyManager.h
// KatalysatorSample
//
// Created by Sven Roeder on 26/06/14.
// Copyright (c) 2014 Katalysator AB. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "KATBeaconConfiguration.h"

@interface KATSurveyManager : NSObject


/**
* Track answers to a survey. Simply post the array with the questions and
* filled answer key
*
* @param answers
* @param config the api configuration
*
* @return void
* @since v1.1.4
*/
+ (void)submitSurvey:(NSArray *)answers configuration:(KATBeaconConfiguration *)configuration;


@end

0 comments on commit 8e25f65

Please sign in to comment.