Class: FinApps::REST::PasswordResets
- Inherits:
-
FinAppsCore::REST::Resources
- Object
- FinAppsCore::REST::Resources
- FinApps::REST::PasswordResets
- Defined in:
- lib/finapps/rest/password_resets.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#create(id) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/finapps/rest/password_resets.rb', line 6 def create(id) not_blank(id, :id) path = "tenant/#{ERB::Util.url_encode(id)}/password" super nil, path end |
#update(id, params) ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/finapps/rest/password_resets.rb', line 13 def update(id, params) not_blank(id, :id) not_blank(params, :params) path = "tenant/#{ERB::Util.url_encode(id)}/password" super params, path end |