SHARE
TWEET

Untitled

a guest Apr 24th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. enum Router {
  2.   // ...
  3.  
  4.   // 7.
  5.   var method: String {
  6.     switch self {
  7.       case .getSources, .getProductIds, .getProductInfo:
  8.         return "GET"
  9.     }
  10.   }
  11. }
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