Sha256: f98c74b1f98c91798b201bc0e43f68cd2740dd1654dbf0ca04eb79dfbb71377e
Contents?: true
Size: 477 Bytes
Versions: 7
Compression:
Stored size: 477 Bytes
Contents
# frozen_string_literal: true module WhatsappSdk module Resource class PhoneNumber attr_accessor :phone, :type, :wa_id PHONE_NUMBER_TYPE = { home: "HOME", work: "WORK" }.freeze def initialize(phone:, type:, wa_id:) @phone = phone @type = type @wa_id = wa_id end def to_h { phone: @phone, type: @type, wa_id: @wa_id } end end end end
Version data entries
7 entries across 7 versions & 1 rubygems