Sha256: 8de5e4282d90cbdc0659f5cc0f4412531565b48aa5fb4093464d3edb338b8f4e
Contents?: true
Size: 976 Bytes
Versions: 1
Compression:
Stored size: 976 Bytes
Contents
# frozen_string_literal: true module Telnyx class MessagingProfile < APIResource include Telnyx::APIOperations::Save include Telnyx::APIOperations::Delete extend Telnyx::APIOperations::List extend Telnyx::APIOperations::Create extend Telnyx::APIOperations::NestedResource OBJECT_NAME = "messaging_profile".freeze nested_resource_class_methods :phone_number, operations: %i[list] nested_resource_class_methods :sender_id, operations: %i[list] nested_resource_class_methods :short_code, operations: %i[list] def phone_numbers(params = {}, opts = {}) self.class.list_phone_numbers(id, params, opts) end def sender_ids(params = {}, opts = {}) self.class.list_sender_ids(id, params, opts) end def short_codes(params = {}, opts = {}) self.class.list_short_codes(id, params, opts) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
telnyx-0.0.1 | lib/telnyx/messaging_profile.rb |