Sha256: 6812ae3bd3e451285a8600a8a2e77da5fd3b71352211cca6872f7a5ab741ab57

Contents?: true

Size: 405 Bytes

Versions: 3

Compression:

Stored size: 405 Bytes

Contents

# coding: utf-8
# frozen_string_literal: true

module Stealth
  class ServiceMessage

    attr_accessor :sender_id, :target_id, :timestamp, :service, :message,
                  :location, :attachments, :payload, :referral, :nlp_result,
                  :catch_all_reason, :confidence

    def initialize(service:)
      @service = service
      @attachments = []
      @location = {}
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stealth-2.0.0.beta7 lib/stealth/service_message.rb
stealth-2.0.0.beta6 lib/stealth/service_message.rb
stealth-2.0.0.beta5 lib/stealth/service_message.rb