Sha256: 3d7d2740f00b9e30f028eb955504fcedd21adff9a78fe06f5494b7734a2b4ed4

Contents?: true

Size: 414 Bytes

Versions: 13

Compression:

Stored size: 414 Bytes

Contents

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

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

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
finapps-2.1.4 lib/finapps/rest/institutions_forms.rb
finapps-2.1.3 lib/finapps/rest/institutions_forms.rb
finapps-2.1.2 lib/finapps/rest/institutions_forms.rb
finapps-2.1.1 lib/finapps/rest/institutions_forms.rb
finapps-2.0.30 lib/finapps/rest/institutions_forms.rb
finapps-2.0.29 lib/finapps/rest/institutions_forms.rb
finapps-2.0.28 lib/finapps/rest/institutions_forms.rb
finapps-2.0.27 lib/finapps/rest/institutions_forms.rb
finapps-2.0.26 lib/finapps/rest/institutions_forms.rb
finapps-2.0.25 lib/finapps/rest/institutions_forms.rb
finapps-2.0.24 lib/finapps/rest/institutions_forms.rb
finapps-2.0.23 lib/finapps/rest/institutions_forms.rb
finapps-2.0.22 lib/finapps/rest/institutions_forms.rb