Module: RedmineRemotes::Sanitizer

Extended by:
ActiveSupport::Concern
Included in:
RemoteIssue, RemoteIssueStatus, RemoteUser
Defined in:
lib/redmine_remotes/sanitizer.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.downcase_sanitize(value) ⇒ Object



8
9
10
# File 'lib/redmine_remotes/sanitizer.rb', line 8

def downcase_sanitize(value)
  value.to_s.downcase.strip if value.present?
end