Skip to content

Commit

Permalink
Move HTTPMethod to internal enum of StubRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangtaiki committed Aug 12, 2019
1 parent 5511da8 commit 73e9844
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Spider/StubRequest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@

import Foundation

public enum HTTPMethod: String {
case GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH
}

public struct StubRequest: Equatable {

public enum HTTPMethod: String {
case GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH
}

public let method: HTTPMethod
public let matcher: Matcher
public let response: StubResponse
Expand Down

0 comments on commit 73e9844

Please sign in to comment.