Class: HostConnect::GetLocations

Inherits:
AbstractResponse show all
Includes:
Enumerable
Defined in:
lib/hostconnect/responses/get_locations.rb

Instance Method Summary collapse

Methods inherited from AbstractResponse

#[], #each, #elements, #first, #last

Instance Method Details

#sizeObject



5
6
7
# File 'lib/hostconnect/responses/get_locations.rb', line 5

def size
  @size ||= @data.search("/Reply/GetLocationsReply/Locations/Location").size
end