Sha256: 52d0e53112e6984946b28526bd884c3cdea090ed336848a00b0e5ad38c276542

Contents?: true

Size: 392 Bytes

Versions: 4

Compression:

Stored size: 392 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

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

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stealth-2.0.0.beta4 lib/stealth/service_message.rb
stealth-2.0.0.beta3 lib/stealth/service_message.rb
stealth-2.0.0.beta2 lib/stealth/service_message.rb
stealth-2.0.0.beta1 lib/stealth/service_message.rb