Sha256: 930398c25519fe4da98f87a26eca04a8b53d93b2e2fd5fcc75f73f69d21c3bcd

Contents?: true

Size: 728 Bytes

Versions: 10

Compression:

Stored size: 728 Bytes

Contents

# typed: strict
# frozen_string_literal: true

module WhatsappSdk
  module Resource
    class Org
      extend T::Sig

      sig { returns(String) }
      attr_accessor :company

      sig { returns(String) }
      attr_accessor :department

      sig { returns(String) }
      attr_accessor :title

      sig { params(company: String, department: String, title: String).void }
      def initialize(company:, department:, title:)
        @company = company
        @department = department
        @title = title
      end

      sig { returns(T::Hash[T.untyped, T.untyped]) }
      def to_h
        {
          company: @company,
          department: @department,
          title: @title
        }
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
whatsapp_sdk-0.12.1 lib/whatsapp_sdk/resource/org.rb
whatsapp_sdk-0.12.0 lib/whatsapp_sdk/resource/org.rb
whatsapp_sdk-0.11.0 lib/whatsapp_sdk/resource/org.rb
whatsapp_sdk-0.10.0 lib/whatsapp_sdk/resource/org.rb
whatsapp_sdk-0.9.2 lib/whatsapp_sdk/resource/org.rb
whatsapp_sdk-0.9.1 lib/whatsapp_sdk/resource/org.rb
whatsapp_sdk-0.9.0 lib/whatsapp_sdk/resource/org.rb
whatsapp_sdk-0.8.0 lib/whatsapp_sdk/resource/org.rb
whatsapp_sdk-0.7.3 lib/whatsapp_sdk/resource/org.rb
whatsapp_sdk-0.7.2 lib/whatsapp_sdk/resource/org.rb