init(rawValue:)
Creates an operation from the given string.
Declaration
init(rawValue: String)Parameters
- rawValue:
The name of the operation.
Discussion
Typically you use one of the predefined operations, like operationLogin, instead of initializing one from a string.