Sha256: d1f87bd0956d0e9ff215b676732a3084dc00f2dc72d2455d89df88e9990bca38
Contents?: true
Size: 361 Bytes
Versions: 11
Compression:
Stored size: 361 Bytes
Contents
module RingCentralSdk::Helpers::Inflator class ContactInfo def inflate_to_array(any=nil) contacts = [] if any.is_a?(Array) contacts = any elsif any.is_a?(Hash) contacts = [any] elsif any.is_a?(String) || any.is_a?(Integer) contacts = [{:phoneNumber=>any}] end return contacts end end end
Version data entries
11 entries across 11 versions & 1 rubygems