1cde16245SBen Roth// Copyright 2015-present 650 Industries. All rights reserved.
2cde16245SBen Roth
3cde16245SBen Roth#import "EXScopedBridgeModule.h"
4cde16245SBen Roth
5cde16245SBen Roth@implementation EXScopedBridgeModule
6cde16245SBen Roth
7cde16245SBen Roth+ (NSString *)moduleName
8cde16245SBen Roth{
9cde16245SBen Roth  NSAssert(NO, @"EXScopedBridgeModule is abstract, you should only export subclasses to the bridge.");
10cde16245SBen Roth  return @"ExponentScopedBridgeModule";
11cde16245SBen Roth}
12cde16245SBen Roth
13167fd314SWill Schurman- (instancetype)initWithExperienceStableLegacyId:(NSString *)experienceStableLegacyId
14167fd314SWill Schurman                                        scopeKey:(NSString *)scopeKey
15*5db43c74SWill Schurman                                    easProjectId:(NSString *)easProjectId
16167fd314SWill Schurman                           kernelServiceDelegate:(id)kernelServiceInstance
17167fd314SWill Schurman                                          params:(NSDictionary *)params
18cde16245SBen Roth{
19cde16245SBen Roth  if (self = [super init]) {
20167fd314SWill Schurman    _experienceStableLegacyId = experienceStableLegacyId;
21167fd314SWill Schurman    _scopeKey = scopeKey;
22*5db43c74SWill Schurman    _easProjectId = easProjectId;
23cde16245SBen Roth  }
24cde16245SBen Roth  return self;
25cde16245SBen Roth}
26cde16245SBen Roth
27167fd314SWill Schurman- (instancetype)initWithExperienceStableLegacyId:(NSString *)experienceStableLegacyId
28167fd314SWill Schurman                                        scopeKey:(NSString *)scopeKey
29*5db43c74SWill Schurman                                    easProjectId:(NSString *)easProjectId
30167fd314SWill Schurman                          kernelServiceDelegates:(NSDictionary *)kernelServiceInstances
31167fd314SWill Schurman                                          params:(NSDictionary *)params
3262dd6356SAlicja Warchał{
3362dd6356SAlicja Warchał  if (self = [super init]) {
34167fd314SWill Schurman    _experienceStableLegacyId = experienceStableLegacyId;
35167fd314SWill Schurman    _scopeKey = scopeKey;
36*5db43c74SWill Schurman    _easProjectId = easProjectId;
3762dd6356SAlicja Warchał  }
3862dd6356SAlicja Warchał  return self;
3962dd6356SAlicja Warchał}
4062dd6356SAlicja Warchał
41cde16245SBen Roth@end
42