Class: Twilio::Values

Inherits:
Object
  • Object
show all
Defined in:
lib/twilio-ruby/framework/values.rb

Class Method Summary collapse

Class Method Details

.of(hash) ⇒ Object


5
6
7
# File 'lib/twilio-ruby/framework/values.rb', line 5

def self.of(hash)
  hash.delete_if { |_, v| v.eql?(:unset) }
end