Sha256: 3f2892502dd8d377406f3b5e7228595e2a3449636c2ca5e5e2f468fbe9922264

Contents?: true

Size: 347 Bytes

Versions: 4

Compression:

Stored size: 347 Bytes

Contents

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

      def show(id)
        not_blank(id, :id)

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
finapps-2.2.4 lib/finapps/rest/user_institutions_forms.rb
finapps-2.2.3 lib/finapps/rest/user_institutions_forms.rb
finapps-2.2.2 lib/finapps/rest/user_institutions_forms.rb
finapps-2.2.1 lib/finapps/rest/user_institutions_forms.rb