Class: HostConnect::SupplierInfo

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

Instance Method Summary collapse

Methods inherited from AbstractResponse

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

Instance Method Details

#sizeObject



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

def size
  @size ||= @data.search("/Reply/SupplierInfoReply/Suppliers/Supplier").size
end