Sha256: 83c7a3ff6da3cba9c1305db3d43b1df68bbbf0487949c512c0210a8b95b30263
Contents?: true
Size: 728 Bytes
Versions: 8
Compression:
Stored size: 728 Bytes
Contents
# frozen_string_literal: true # typed: strict 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
8 entries across 8 versions & 1 rubygems