Sha256: de775e98d2a6e0a3b79ceeea87607ca4ee8e72f2f1c0311a76005643aefb8f6e

Contents?: true

Size: 312 Bytes

Versions: 9

Compression:

Stored size: 312 Bytes

Contents

# frozen_string_literal: true

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

      def town(id)
        model_load name: 'Town', ep_name: 'Towns', 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/towns.rb
rating-chgk-v2-1.5.0 lib/rating_chgk_v2/rest/towns.rb
rating-chgk-v2-1.4.0 lib/rating_chgk_v2/rest/towns.rb
rating-chgk-v2-1.3.0 lib/rating_chgk_v2/rest/towns.rb
rating-chgk-v2-1.2.0 lib/rating_chgk_v2/rest/towns.rb
rating-chgk-v2-1.1.0 lib/rating_chgk_v2/rest/towns.rb
rating-chgk-v2-1.0.1 lib/rating_chgk_v2/rest/towns.rb
rating-chgk-v2-1.0.0 lib/rating_chgk_v2/rest/towns.rb
rating-chgk-v2-1.0.0.rc1 lib/rating_chgk_v2/rest/towns.rb