class Crowbar::Client::Command::HostIP::Deallocate
Implementation for the host IP deallocate command
Public Instance Methods
execute()
click to toggle source
# File lib/crowbar/client/command/host_ip/deallocate.rb, line 31 def execute request.process do |request| case request.code when 200 say "Successfully deallocated the host IP" else err request.parsed_response["error"] end end end
request()
click to toggle source
# File lib/crowbar/client/command/host_ip/deallocate.rb, line 25 def request @request ||= Request::HostIP::Deallocate.new( args ) end