lib/finapps/rest/alert_settings.rb in finapps-0.22.2.pre vs lib/finapps/rest/alert_settings.rb in finapps-0.22.3.pre

- old
+ new

@@ -6,39 +6,31 @@ class AlertSettings < FinApps::REST::Resources include FinApps::REST::Defaults # @return [Hash, Array<String>] def show - logger.debug "##{__method__.to_s} => Started" - end_point = Defaults::END_POINTS[:alert_settings_show] logger.debug "##{__method__.to_s} => end_point: #{end_point}" path = end_point logger.debug "##{__method__.to_s} => path: #{path}" result, error_messages = @client.send(path, :get) - - logger.debug "##{__method__.to_s} => Completed" return result, error_messages end # @return [Hash, Array<String>] def update(params) - logger.debug "##{__method__.to_s} => Started" - raise MissingArgumentsError.new 'Missing argument: params.' if params.blank? logger.debug "##{__method__.to_s} => params: #{params.inspect}" end_point = Defaults::END_POINTS[:alert_settings_update] logger.debug "##{__method__.to_s} => end_point: #{end_point}" path = end_point logger.debug "##{__method__.to_s} => path: #{path}" _, error_messages = @client.send(path, :put, params.compact) - - logger.debug "##{__method__.to_s} => Completed" error_messages end end end \ No newline at end of file