fix public access
This commit is contained in:
parent
3046adc0c7
commit
9824be9d3b
|
|
@ -46,7 +46,7 @@ open class DefaultNetworkService: NetworkService {
|
|||
bindActivityIndicator()
|
||||
}
|
||||
|
||||
private convenience init() {
|
||||
public convenience init() {
|
||||
let configuration = URLSessionConfiguration.default
|
||||
configuration.timeoutIntervalForRequest = defaultTimeoutInterval
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
import Foundation
|
||||
|
||||
enum ConnectionError: LocalizedError {
|
||||
public enum ConnectionError: LocalizedError {
|
||||
|
||||
case noConnection
|
||||
|
||||
|
|
|
|||
|
|
@ -25,6 +25,10 @@ import LeadKit
|
|||
|
||||
open class BaseUserService {
|
||||
|
||||
public init() {
|
||||
// Can be overrided
|
||||
}
|
||||
|
||||
open var userLogin: String {
|
||||
guard let defaultsLogin = UserDefaults.standard.userLogin else {
|
||||
assertionFailure("userLogin is nil. Use isLoggedIn before read userLogin")
|
||||
|
|
|
|||
Loading…
Reference in New Issue