Sha256: ee842ba63713ec08ddd31502ad2038cd1839101e9ea4b0597ad78c21951a36ea

Contents?: true

Size: 479 Bytes

Versions: 102

Compression:

Stored size: 479 Bytes

Contents

# frozen_string_literal: true

module FinApps
  module REST
    class PasswordResets < FinAppsCore::REST::Resources # :nodoc:
      def create(id)
        not_blank(id, :id)

        path = "tenant/#{ERB::Util.url_encode(id)}/password"
        super nil, path
      end

      def update(id, params)
        not_blank(id, :id)
        not_blank(params, :params)

        path = "tenant/#{ERB::Util.url_encode(id)}/password"
        super params, path
      end
    end
  end
end

Version data entries

102 entries across 102 versions & 1 rubygems

Version Path
finapps-6.13.1 lib/finapps/rest/password_resets.rb
finapps-6.13.0 lib/finapps/rest/password_resets.rb
finapps-6.12.0 lib/finapps/rest/password_resets.rb
finapps-6.11.0 lib/finapps/rest/password_resets.rb
finapps-6.10.2 lib/finapps/rest/password_resets.rb
finapps-6.10.1 lib/finapps/rest/password_resets.rb
finapps-6.10.0 lib/finapps/rest/password_resets.rb
finapps-6.9.2 lib/finapps/rest/password_resets.rb
finapps-6.9.1 lib/finapps/rest/password_resets.rb
finapps-6.9.0 lib/finapps/rest/password_resets.rb
finapps-6.8.0 lib/finapps/rest/password_resets.rb
finapps-6.7.1 lib/finapps/rest/password_resets.rb
finapps-6.7.0 lib/finapps/rest/password_resets.rb
finapps-6.6.1 lib/finapps/rest/password_resets.rb
finapps-6.6.0 lib/finapps/rest/password_resets.rb
finapps-6.5.0 lib/finapps/rest/password_resets.rb
finapps-6.4.3 lib/finapps/rest/password_resets.rb
finapps-6.4.2 lib/finapps/rest/password_resets.rb
finapps-6.4.1 lib/finapps/rest/password_resets.rb
finapps-6.4.0 lib/finapps/rest/password_resets.rb