class Fog::Parsers::Compute::ProfitBricks::UpdateServer

Public Instance Methods

end_element(name) click to toggle source
# File lib/fog/parsers/compute/profit_bricks/update_server.rb, line 10
def end_element(name)
  case name
  when 'requestId', 'dataCenterId'
    @response['updateServerResponse'][name] = value
  when 'dataCenterVersion'
    @response['updateServerResponse'][name] = value.to_i
  end
end
reset() click to toggle source
# File lib/fog/parsers/compute/profit_bricks/update_server.rb, line 6
def reset
  @response = { 'updateServerResponse' => {} }
end