Sha256: 4d550c168c2a4158c46119e71489d28bc0f28d91d1dfc3caf257a944acb2b3de

Contents?: true

Size: 397 Bytes

Versions: 15

Compression:

Stored size: 397 Bytes

Contents

# frozen_string_literal: true
module FinApps
  module REST
    class UserInstitutionsStatuses < FinAppsCore::REST::Resources # :nodoc:
      def show(id)
        not_blank(id, :id)

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

      def update
        path = 'institutions/refresh'
        super nil, path
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
finapps-2.2.22 lib/finapps/rest/user_institutions_statuses.rb
finapps-2.2.21 lib/finapps/rest/user_institutions_statuses.rb
finapps-2.2.20 lib/finapps/rest/user_institutions_statuses.rb
finapps-2.2.19 lib/finapps/rest/user_institutions_statuses.rb
finapps-2.2.18 lib/finapps/rest/user_institutions_statuses.rb
finapps-2.2.17 lib/finapps/rest/user_institutions_statuses.rb
finapps-2.2.16 lib/finapps/rest/user_institutions_statuses.rb
finapps-2.2.15 lib/finapps/rest/user_institutions_statuses.rb
finapps-2.2.14 lib/finapps/rest/user_institutions_statuses.rb
finapps-2.2.13 lib/finapps/rest/user_institutions_statuses.rb
finapps-2.2.12 lib/finapps/rest/user_institutions_statuses.rb
finapps-2.2.11 lib/finapps/rest/user_institutions_statuses.rb
finapps-2.2.10 lib/finapps/rest/user_institutions_statuses.rb
finapps-2.2.9 lib/finapps/rest/user_institutions_statuses.rb
finapps-2.2.8 lib/finapps/rest/user_institutions_statuses.rb