class RitoPlz::API::FeaturedGames
Public Class Methods
new(region)
click to toggle source
# File lib/RitoPlz/API/featured_games.rb, line 7 def initialize(region) @region = region end
Public Instance Methods
all()
click to toggle source
# File lib/RitoPlz/API/featured_games.rb, line 11 def all request = Request.new(@region, api_path) request.get end
Protected Instance Methods
api_path()
click to toggle source
# File lib/RitoPlz/API/featured_games.rb, line 18 def api_path "/observer-mode/rest/featured" end