Sha256: 74bd69d226f39a32a926d65b4fe7c6560f9ba7cc2a9dc23eccadcbac931a7aff
Contents?: true
Size: 663 Bytes
Versions: 7
Compression:
Stored size: 663 Bytes
Contents
# frozen_string_literal: true module FinApps module REST class PasswordResets < FinAppsCore::REST::Resources # :nodoc: using ObjectExtensions using StringExtensions def create(id) not_blank(id, :id) path = "tenant/#{ERB::Util.url_encode(id)}/password" super nil, path end def update(id, params) raise FinAppsCore::MissingArgumentsError.new 'Missing argument: id.' if id.blank? raise FinAppsCore::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
7 entries across 7 versions & 1 rubygems