Sha256: a0d0b800dc78226c2a4e5fc9e38c50bf61f4476ea34d846e64f24a030fa49336

Contents?: true

Size: 720 Bytes

Versions: 3

Compression:

Stored size: 720 Bytes

Contents

module SphereEngine
  module REST
    module Judges
      include SphereEngine::REST::Utils

      # @options [Hash]
      def all_judges(options = {})
        perform_get_requests_of_problems_service("/judges", options)
      end

      # @options [Hash]
      def create_judge(options = {})
        perform_post_requests_of_problems_service("/judges", options)
      end

      # @judge_id [String]
      def get_judge(judge_id)
        perform_get_requests_of_problems_service("/judges/#{judge_id}")
      end

      # @judge_id [String]
      # @options [Hash]
      def update_judge(judge_id, options = {})
        perform_put_requests_of_problems_service("/judges/#{judge_id}", options)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sphere_engine-1.1.0 lib/sphere_engine/rest/judges.rb
sphere_engine-1.0.0 lib/sphere_engine/rest/judges.rb
sphere_engine-1.3.0.pre lib/sphere_engine/rest/judges.rb