Sha256: 7cfbc45bd700ee56028b1cc7983a20dfc8a3d11366e0c8b18415f0e265007dc5
Contents?: true
Size: 766 Bytes
Versions: 3
Compression:
Stored size: 766 Bytes
Contents
# frozen_string_literal: true module Hcloud class Network include EntryLoader schema( created: :time ) protectable :delete updatable :name destructible has_actions def add_subnet(type:, ip_range: nil, network_zone:) prepare_request('actions/add_subnet', j: COLLECT_ARGS.call(__method__, binding)) end def del_subnet(ip_range:) prepare_request('actions/del_subnet', j: COLLECT_ARGS.call(__method__, binding)) end def add_route(destination:, gateway:) prepare_request('actions/add_route', j: COLLECT_ARGS.call(__method__, binding)) end def del_route(destination:, gateway:) prepare_request('actions/del_route', j: COLLECT_ARGS.call(__method__, binding)) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hcloud-1.0.2 | lib/hcloud/network.rb |
hcloud-1.0.1 | lib/hcloud/network.rb |
hcloud-1.0.0 | lib/hcloud/network.rb |