Sha256: b2996e3436ff7d08a6c17814d9ffff557353c3c5cd654e32fb2c4de60c75edb8

Contents?: true

Size: 564 Bytes

Versions: 1

Compression:

Stored size: 564 Bytes

Contents

# coding: utf-8
# frozen_string_literal: true

require 'stealth/services/alexa/message_handler'
require 'stealth/services/alexa/reply_handler'
require 'stealth/services/alexa/setup'

module Stealth
  module Services
    module Alexa

      class Client < Stealth::Services::BaseClient

        attr_reader :reply

        def initialize(reply:)
          @reply = reply
          Thread.current[:alexa_reply] = reply
        end

        def transmit
          Stealth::Logger.l(topic: "alexa", message: "Response sent.")
        end

      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stealth-alexa-1.0.0.pre1 lib/stealth/services/alexa/client.rb