Sha256: d0b28db93a93cf9a9349b34942469d29225d175491926eaa253e076f0a13cf85

Contents?: true

Size: 368 Bytes

Versions: 7

Compression:

Stored size: 368 Bytes

Contents

# frozen_string_literal: true
module FinApps
  module REST
    class InstitutionsForms < FinAppsCore::REST::Resources
      using ObjectExtensions
      using StringExtensions

      def show(site_id)
        not_blank(site_id, :site_id)

        path = "institutions/site/#{ERB::Util.url_encode(site_id)}/form"
        super site_id, path
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
finapps-2.2.7 lib/finapps/rest/institutions_forms.rb
finapps-2.2.6 lib/finapps/rest/institutions_forms.rb
finapps-2.2.5 lib/finapps/rest/institutions_forms.rb
finapps-2.2.4 lib/finapps/rest/institutions_forms.rb
finapps-2.2.3 lib/finapps/rest/institutions_forms.rb
finapps-2.2.2 lib/finapps/rest/institutions_forms.rb
finapps-2.2.1 lib/finapps/rest/institutions_forms.rb