Module: Lunanode::APIActions::Floating

Included in:
Lunanode::APIActions
Defined in:
lib/lunanode/api_actions/floating.rb,
lib/lunanode/api_actions/default/floating.rb

Instance Method Summary collapse

Instance Method Details

#floating_add(region:) ⇒ Object


10
11
12
# File 'lib/lunanode/api_actions/default/floating.rb', line 10

def floating_add(region:)
  action(:floating, :add, region: region)
end

#floating_delete(region:, ip:) ⇒ Object


14
15
16
# File 'lib/lunanode/api_actions/default/floating.rb', line 14

def floating_delete(region:, ip:)
  action(:floating, :delete, region: region, ip: ip)
end

#floating_listObject


6
7
8
# File 'lib/lunanode/api_actions/default/floating.rb', line 6

def floating_list
  action(:floating, :list)
end