daily pastebin goal
14%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import Foundation
  2.  
  3. public enum Operations {
  4.     case create
  5.     case read
  6.     case update
  7.     case delete
  8. }
  9.  
  10. public class OperationAuthorizationRequirement : AuthorizationRequirementProtocol {
  11.     public let operation: Operations
  12.    
  13.     init(operation: Operations) {
  14.         self.operation = operation
  15.     }
  16. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top