Sha256: bb74fbe9d7b989403d7815eb9664258cf8a2347db3726ae6f0b84947aa85c4d2
Contents?: true
Size: 683 Bytes
Versions: 2
Compression:
Stored size: 683 Bytes
Contents
# frozen_string_literal: true module FinApps module REST class PasswordResets < FinApps::REST::Resources # :nodoc: using ObjectExtensions using StringExtensions def create(id) raise MissingArgumentsError.new 'Missing argument: id.' if id.blank? path = "tenant/#{ERB::Util.url_encode(id)}/password" super nil, path end def update(id, params) raise MissingArgumentsError.new 'Missing argument: id.' if id.blank? raise MissingArgumentsError.new 'Missing argument: params.' if params.blank? path = "tenant/#{ERB::Util.url_encode(id)}/password" super params, path end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
finapps-2.1.4 | lib/finapps/rest/password_resets.rb |
finapps-2.1.3 | lib/finapps/rest/password_resets.rb |