Class: Virtus::Coercion::String
- Inherits:
-
Object
- Object
- Object
- Virtus::Coercion::String
- Defined in:
- lib/webhook/payload.rb
Class Method Summary collapse
Class Method Details
.to_pathname(value) ⇒ Object
9 10 11 |
# File 'lib/webhook/payload.rb', line 9 def self.to_pathname(value) Pathname.new(value) end |
.to_uri(value) ⇒ Object
13 14 15 |
# File 'lib/webhook/payload.rb', line 13 def self.to_uri(value) URI.parse(value) end |