class OceanKit::Resource::FloatingIpAction


Floating IP actions are commands that can be given to a DigitalOcean Floating IP. These requests are made on the actions endpoint of a specific Floating IP.

Defined in:


Instance Method Summary

Class methods inherited from class OceanKit::Resource::Base

new(headers : HTTP::Headers | Nil) new

Instance methods inherited from module OceanKit::Client::Connection

destroy(path, options = nil) destroy, get(path, options = nil) get, post(path, options) post, put(path, options) put, request(http_method, path, options) request

Instance Method Detail

def attach(ip, droplet_id) #

To assign a Floating IP to a Droplet

[View source]
def deattach(id) #

Unassign a Floating IP

[View source]
def floating_ip_actions #

[View source]