Sha256: af5d1d6cd71315a94882efd971bd28a2c106c43077de9a460c9f51adad45a65c

Contents?: true

Size: 473 Bytes

Versions: 5

Compression:

Stored size: 473 Bytes

Contents

# frozen_string_literal: true

module Lunanode
  module APIActions
    module Network
      def network_list(region: nil)
        action(:network, :list, region: region)
      end

      def network_create(region:, name:, subnet:, dns:)
        action(:network, :create, region: region, name: name, subnet: subnet, dns: dns)
      end

      def network_delete(region:, net_id:)
        action(:network, :delete, region: region, net_id: net_id)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lunanode-0.3.1 lib/lunanode/api_actions/default/network.rb
lunanode-0.3.0 lib/lunanode/api_actions/default/network.rb
lunanode-0.2.0 lib/lunanode/api_actions/default/network.rb
lunanode-0.1.6 lib/lunanode/api_actions/default/network.rb
lunanode-0.1.5 lib/lunanode/api_actions/default/network.rb