Class: Signalwire::Relay::Calling::FaxReceive

Inherits:
BaseFax show all
Defined in:
lib/signalwire/relay/calling/component/fax_receive.rb

Instance Attribute Summary

Attributes inherited from BaseFax

#direction, #document, #identity, #pages, #remote_identity

Attributes inherited from Component

#blocker, #call, #completed, #event, #execute_result, #state, #successful

Instance Method Summary collapse

Methods inherited from BaseFax

#broadcast_event, #event_type, #notification_handler

Methods inherited from ControlComponent

#control_id, #execute_subcommand, #setup_handlers, #stop

Methods inherited from Component

#after_execute, #check_for_waiting_events, #create_blocker, #event_type, #execute, #execute_params, #handle_execute_result, #has_blocker?, #initialize, #notification_handler, #payload, #setup_handlers, #setup_waiting_events, #terminate, #unblock, #wait_for, #wait_on_blocker

Methods included from Logger

#level=, #logger, logger

Constructor Details

This class inherits a constructor from Signalwire::Relay::Calling::Component

Instance Method Details

#inner_paramsObject



7
8
9
10
11
12
13
# File 'lib/signalwire/relay/calling/component/fax_receive.rb', line 7

def inner_params
  params = {
    node_id: @call.node_id,
    call_id: @call.id,
    control_id: control_id
  }
end

#methodObject



3
4
5
# File 'lib/signalwire/relay/calling/component/fax_receive.rb', line 3

def method
  Relay::ComponentMethod::RECEIVE_FAX
end