Class: Webhookdb::Service::Types::CommaSepArray
- Inherits:
-
Object
- Object
- Webhookdb::Service::Types::CommaSepArray
- Defined in:
- lib/webhookdb/service/types.rb
Class Method Summary collapse
Class Method Details
.parse(value) ⇒ Object
27 28 29 30 |
# File 'lib/webhookdb/service/types.rb', line 27 def self.parse(value) return value if value.respond_to?(:to_ary) return value.split(",").map(&:strip) end |