Sha256: cb6db510be24a407cecb6a78050f59a0feefd6b689f543999e6d3440ca5bff15

Contents?: true

Size: 296 Bytes

Versions: 1

Compression:

Stored size: 296 Bytes

Contents

module Infoblox 
  class Network < Resource
    remote_attr_accessor :network
    attr_accessor :network_view

    wapi_object "network"

    def next_available_ip(num=1)
      JSON.parse(connection.post(resource_uri + "?_function=next_available_ip&num=#{num}", {}).body)["ips"]
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
infoblox-0.0.3 lib/infoblox/network.rb