Class: FlowChat::Messenger::Gateway::SendApi
- Inherits:
-
FlowChat::Meta::MessagingGateway
- Object
- FlowChat::Meta::MessagingGateway
- FlowChat::Messenger::Gateway::SendApi
- Defined in:
- lib/flow_chat/messenger/gateway/send_api.rb
Overview
Facebook Messenger, on the shared Messenger Platform envelope.
Constant Summary
Constants included from Instrumentation
Instrumentation::DELIVERED_MESSAGE_ID_KEY, Instrumentation::DELIVERY_DURATION_KEY
Instance Attribute Summary
Attributes inherited from FlowChat::Meta::MessagingGateway
Attributes included from GatewayAsyncSupport
Class Method Summary collapse
Instance Method Summary collapse
- #client_class ⇒ Object
- #configuration_class ⇒ Object
- #gateway_name ⇒ Object
- #platform ⇒ Object
- #renderer_class ⇒ Object
Methods inherited from FlowChat::Meta::MessagingGateway
#call, configure_middleware_stack, #expected_webhook_object, #initialize
Methods included from FlowChat::Meta::GatewayIdentity
Methods included from GatewayAsyncSupport
#async_supported?, #enqueue_async_job, #extract_body_for_background, #extract_headers_for_background, #extract_host, #extract_path, #extract_remote_ip, #in_background?, #should_enqueue_async?, #side_events_already_published?
Methods included from Instrumentation
#elapsed_ms_since, #inbound_message?, #instrument, instrument, #platform_message_id_from, report_api_error, #report_delivery_failure, #report_delivery_success, #report_to_app, #report_to_subscribers
Constructor Details
This class inherits a constructor from FlowChat::Meta::MessagingGateway
Class Method Details
.choice_mapper_class ⇒ Object
26 27 28 |
# File 'lib/flow_chat/messenger/gateway/send_api.rb', line 26 def self.choice_mapper_class FlowChat::Messenger::Middleware::ChoiceMapper end |
Instance Method Details
#client_class ⇒ Object
18 19 20 |
# File 'lib/flow_chat/messenger/gateway/send_api.rb', line 18 def client_class FlowChat::Messenger::Client end |
#configuration_class ⇒ Object
14 15 16 |
# File 'lib/flow_chat/messenger/gateway/send_api.rb', line 14 def configuration_class FlowChat::Messenger::Configuration end |
#gateway_name ⇒ Object
10 11 12 |
# File 'lib/flow_chat/messenger/gateway/send_api.rb', line 10 def gateway_name :messenger_send_api end |
#platform ⇒ Object
6 7 8 |
# File 'lib/flow_chat/messenger/gateway/send_api.rb', line 6 def platform :messenger end |