noesya/osuny

View on GitHub
app/services/contact_details/email.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
class ContactDetails::Email < ContactDetails::Base
  PREFIX = "mailto:"

  protected

  def prepare_value
    @value = "#{PREFIX}#{@string}"
  end

end