Skip to content

Instantly share code, notes, and snippets.

@meyusufdemirci
Created April 16, 2020 19:00
Show Gist options
  • Save meyusufdemirci/d9887696f72b1ea0ef561863e6188cb4 to your computer and use it in GitHub Desktop.
Save meyusufdemirci/d9887696f72b1ea0ef561863e6188cb4 to your computer and use it in GitHub Desktop.
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