Sha256: 7a12d1218eca112d40d4dc8e814cf1dc81f4f889b155ac3c4df4f3e6e5ea24fc

Contents?: true

Size: 413 Bytes

Versions: 1

Compression:

Stored size: 413 Bytes

Contents

# frozen_string_literal: true
module FinApps
  module REST
    class UserInstitutionsForms < FinApps::REST::Resources
      require 'erb'
      using ObjectExtensions
      using StringExtensions

      def show(id)
        raise MissingArgumentsError.new 'Missing argument: id.' if id.blank?

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
finapps-2.0.21 lib/finapps/rest/user_institutions_forms.rb