ApiVersionStrings

This is where all the API version info lives. This allows us to change one line here and affect all our api calls.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val API_PREFIX: String = "/services/data/"
Link copied to clipboard
val VERSION_NUMBER: String = "v66.0"
Link copied to clipboard
A version number override exclusively to support unit tests

Functions

Link copied to clipboard
Link copied to clipboard
open fun getBasePath(): String
Link copied to clipboard
Link copied to clipboard
open fun getVersionNumber(context: Context): String
Returns the API version number to be used.