Method: PolylinkApi::Helper.get_cdrs_from_string

Defined in:
lib/polylink_api/helper.rb

.get_cdrs_from_string(string) ⇒ Object



130
131
132
133
134
135
136
137
138
# File 'lib/polylink_api/helper.rb', line 130

def self.get_cdrs_from_string(string)
  cdrs = []
  unless string.nil?
    string.split(';').each do |cdr|
      cdrs << get_cdr_from_string(cdr)
    end
  end
  cdrs
end