Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
A
Api
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Public iOS projects
Api
Commits
4107ee5a
Commit
4107ee5a
authored
Sep 01, 2017
by
Mauro E. Bender
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make api properties open so they can be accessed from outside the module
parent
968182cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Api/Classes/Api.swift
Api/Classes/Api.swift
+3
-3
No files found.
Api/Classes/Api.swift
View file @
4107ee5a
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment