Sha256: 6169eb01cb46e93c86f96c4aaec5134f5cc9ab06822b19c04d19ddb631f22b18

Contents?: true

Size: 324 Bytes

Versions: 9

Compression:

Stored size: 324 Bytes

Contents

# frozen_string_literal: true

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

      def region(id)
        model_load name: 'Region', ep_name: 'Regions', ep_params: id
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rating-chgk-v2-1.6.0 lib/rating_chgk_v2/rest/regions.rb
rating-chgk-v2-1.5.0 lib/rating_chgk_v2/rest/regions.rb
rating-chgk-v2-1.4.0 lib/rating_chgk_v2/rest/regions.rb
rating-chgk-v2-1.3.0 lib/rating_chgk_v2/rest/regions.rb
rating-chgk-v2-1.2.0 lib/rating_chgk_v2/rest/regions.rb
rating-chgk-v2-1.1.0 lib/rating_chgk_v2/rest/regions.rb
rating-chgk-v2-1.0.1 lib/rating_chgk_v2/rest/regions.rb
rating-chgk-v2-1.0.0 lib/rating_chgk_v2/rest/regions.rb
rating-chgk-v2-1.0.0.rc1 lib/rating_chgk_v2/rest/regions.rb