Sha256: 28417396131f14a4209e679890f1cdc8b47b3508b43ae0e1ff28d3584e2b6b49

Contents?: true

Size: 760 Bytes

Versions: 5

Compression:

Stored size: 760 Bytes

Contents

# frozen_string_literal: true

module Telnyx
  class WireguardPeer < APIResource
    include APIOperations::Delete
    include APIOperations::Save
    extend APIOperations::List
    extend APIOperations::Create
    extend APIOperations::NestedResource
    nested_resource_class_methods "config",
                                  path: "config",
                                  operations: [:list],
                                  instance_methods: { list: "config" }
    nested_resource_class_methods "allowed_ips",
                                  path: "allowed_ips",
                                  operations: [:list],
                                  instance_methods: { list: "allowed_ips" }

    OBJECT_NAME = "wireguard_peer".freeze
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
telnyx-3.0.5 lib/telnyx/wireguard_peer.rb
telnyx-3.0.4 lib/telnyx/wireguard_peer.rb
telnyx-3.0.3 lib/telnyx/wireguard_peer.rb
telnyx-3.0.2 lib/telnyx/wireguard_peer.rb
telnyx-3.0.0 lib/telnyx/wireguard_peer.rb