Module: Calendly::ModelUtils::ClassMethods
- Defined in:
- lib/calendly/models/model_utils.rb
Instance Method Summary collapse
Instance Method Details
#extract_uuid(str) ⇒ Object
45 46 47 48 49 50 51 52 53 54 |
# File 'lib/calendly/models/model_utils.rb', line 45 def extract_uuid(str) return unless defined? self::UUID_RE return unless str return if str.empty? m = self::UUID_RE.match str return if m.nil? m[1] end |