class ZombieBattleground::Api::Requests::GetMatchRequest
Request validator for GetMatch
Attributes
id[RW]
@!attribute [r] id Match's id
@return [Integer]
@example
request.id #=> 1
@api public
Public Instance Methods
params()
click to toggle source
Match does not take params, return an empty Hash
@return [Hash]
@example
request.params # => {}
@api public
# File lib/zombie_battleground/api/requests/get_match_request.rb, line 54 def params {} end
uri()
click to toggle source
The URI for the endpoint
@return [String]
@example
request.uri # => "match/1"
@api public
# File lib/zombie_battleground/api/requests/get_match_request.rb, line 41 def uri "match/#{id}" end