Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/contact-data.rb
Instance Method Summary collapse
Instance Method Details
#encode_component ⇒ Object
25 26 27 |
# File 'lib/contact-data.rb', line 25 def encode_component Addressable::URI.encode_component(self, Addressable::URI::CharacterClasses::PATH) end |
#to_options(base) ⇒ Object
29 30 31 |
# File 'lib/contact-data.rb', line 29 def (base) { url: self }.(base) end |