bodrovis/rating-chgk-v2

View on GitHub
lib/rating_chgk_v2/rest/releases.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module RatingChgkV2
  module Rest
    module Releases
      def releases(params = {})
        collection_load name: 'Releases', ep_params: [[], params]
      end

      def release(id)
        model_load name: 'Release', ep_name: 'Releases', ep_params: id
      end
    end
  end
end