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