Created
April 16, 2020 19:00
-
-
Save meyusufdemirci/d9887696f72b1ea0ef561863e6188cb4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AveragePriceRequestModel: RequestModel { | |
// MARK: - Properties | |
private var symbol: String | |
init(symbol: String) { | |
self.symbol = symbol | |
} | |
override var path: String { | |
return Constant.ServiceConstant.avgPrice | |
} | |
override var parameters: [String : Any?] { | |
return [ | |
"symbol": symbol | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment