Method: Hyperclient::Collection#to_h

Defined in:
lib/hyperclient/collection.rb

#to_hObject Also known as: to_hash

Returns the wrapped collection as a Hash.

Returns:

  • a Hash.



62
63
64
# File 'lib/hyperclient/collection.rb', line 62

def to_h
  @collection.to_hash
end