Sha256: 1b34bcc62e862259162e56ce5ad8d5a7fb34595ca1d01e85f3e7451b0ef451c1
Contents?: true
Size: 539 Bytes
Versions: 7
Compression:
Stored size: 539 Bytes
Contents
module RingCentralSdk module REST module Request class Fax < RingCentralSdk::REST::Request::Multipart def add_metadata(data, opts = {}) if data.is_a? Hash inf = RingCentralSdk::REST::Request::Inflator::ContactInfo.new if data.key? :to data[:to] = inf.inflate_to_array data[:to] end end super data, opts end def url "account/#{@account_id}/extension/#{@extension_id}/fax" end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems