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