Skip to content

Commit

Permalink
[Refactor] The enumeration object according to Swift 3 is a lower cas…
Browse files Browse the repository at this point in the history
…e naming convention (#102)
  • Loading branch information
Arcovv authored and sidraval committed Mar 2, 2018
1 parent 22abc4c commit 58917b1
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Source/Models/RequestMethod.swift
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
public enum RequestMethod: String {
case GET
case POST
case DELETE
case PUT
case PATCH
case HEAD
case OPTIONS
case TRACE
case CONNECT
case get = "GET"
case post = "POST"
case delete = "DELETE"
case put = "PUT"
case patch = "PATCH"
case head = "HEAD"
case options = "OPTIONS"
case trace = "TRACE"
case connect = "CONNECT"
}

0 comments on commit 58917b1

Please sign in to comment.