Sha256: 0e0f4c2c0d92bf1d089caa84c6bf0aabed60b5d65c54b0beac778627ad27e22f
Contents?: true
Size: 1.24 KB
Versions: 137
Compression:
Stored size: 1.24 KB
Contents
## # This code was generated by # \ / _ _ _| _ _ # | (_)\/(_)(_|\/| |(/_ v1.0.0 # / / # # frozen_string_literal: true module Twilio module TwiML ## # <Response> TwiML for Faxes class FaxResponse < TwiML def initialize(**keyword_args) super(**keyword_args) @name = 'Response' yield(self) if block_given? end ## # Create a new <Receive> element # action:: Receive action URL # method:: Receive action URL method # media_type:: The media type used to store media in the fax media store # page_size:: What size to interpret received pages as # store_media:: Whether or not to store received media in the fax media store # keyword_args:: additional attributes def receive(action: nil, method: nil, media_type: nil, page_size: nil, store_media: nil, **keyword_args) append(Receive.new(action: action, method: method, media_type: media_type, page_size: page_size, store_media: store_media, **keyword_args)) end end ## # <Receive> TwiML Verb class Receive < TwiML def initialize(**keyword_args) super(**keyword_args) @name = 'Receive' yield(self) if block_given? end end end end
Version data entries
137 entries across 137 versions & 2 rubygems