Commit 4107ee5a authored by Mauro E. Bender's avatar Mauro E. Bender

Make api properties open so they can be accessed from outside the module

parent 968182cc
......@@ -11,10 +11,10 @@ import Alamofire
public typealias ApiMethod = Alamofire.HTTPMethod
open class Api {
let baseURL: URL
let apiPath: String
open let baseURL: URL
open let apiPath: String
var apiURL: URL { return baseURL.appendingPathComponent( apiPath ) }
open var apiURL: URL { return baseURL.appendingPathComponent( apiPath ) }
public init( baseURL: URL, apiPath: String ) {
self.baseURL = baseURL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment