Showing 29 of 106 total issues
Function event
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public func event(collection: EventCollection,
uuid: String? = nil,
payload: [String: Any]? = nil,
occurred: Double? = nil,
context: EventContext? = nil,
Function checkinByID
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public func checkinByID(scan: String,
partner: PartnerCode? = nil,
location: LocationCode? = nil,
deviceName: DeviceCode? = nil,
fingerprint: String? = nil,
Function getOrder
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public func getOrder(id: OrderID,
isLocal: Bool = false,
partner: PartnerCode? = nil,
location: LocationCode? = nil,
apiKey: APIKey? = nil) throws -> GetOrder.Response {
Function verifyMember
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public func verifyMember(phone: PhoneNumber,
partner: PartnerCode? = nil,
location: LocationCode? = nil,
apiKey: APIKey? = nil,
callback: @escaping VerifyMemberCallback) throws -> VerifyMemberCall {
Function activate
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public func activate(deviceSerial name: DeviceSerial,
withFingerprint fingerprint: DeviceFingerprint? = nil,
withPublicKey publicKey: DevicePublicKey? = nil,
authorizedBy apiKey: APIKey? = nil,
_ callback: @escaping DeviceActivateCallback) throws -> DeviceActivateCall {
Function retrieve
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public func retrieve(partner: PartnerCode? = nil,
location: LocationCode? = nil,
keysOnly: Bool = false,
apiKey: APIKey? = nil,
callback: @escaping MenuRetrieveCallback) throws -> GetMenuCall {
Function submitOrder
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public func submitOrder(order: Order,
partner: PartnerCode? = nil,
location: LocationCode? = nil,
deviceName: DeviceCode? = nil,
apiKey: APIKey? = nil) throws -> SubmitOrder.Response {
Function verifyMember
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public func verifyMember(email: String,
partner: PartnerCode? = nil,
location: LocationCode? = nil,
apiKey: APIKey? = nil,
callback: @escaping VerifyMemberCallback) throws -> VerifyMemberCall {
Function checkZipcode
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public func checkZipcode(zipcode: String,
partner: PartnerCode? = nil,
location: LocationCode? = nil,
apiKey: APIKey? = nil,
callback: @escaping CheckZipcodeCallback) throws -> CheckZipcodeCall {