Skip to content

Commit

Permalink
APIConfigurable extension made public
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushawasthi authored Jan 3, 2019
1 parent 4822f4c commit 622bd67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions KiwiPods/Networking/NetworkManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ public protocol APIConfigurable: URLRequestConvertible {
var headers: [String: String]? { get }
}

extension APIConfigurable {
func asURLRequest() -> URLRequest? {
public extension APIConfigurable {
public func asURLRequest() -> URLRequest? {
var queryItems = ""
if type == .GET, parameters.count > 0 {
queryItems = parameters.reduce("?") { (value: String, arg1: (String, Any)) -> String in
Expand Down

0 comments on commit 622bd67

Please sign in to comment.