Class: Eagleplatform::EagleplatformObject Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/eagleplatform/eagleplatform_object.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Class provides methods for all Eagleplatform Objects

Instance Method Summary collapse

Instance Method Details

#to_hashHash

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns convert Struct to Hash.

Returns:

  • (Hash)

    convert Struct to Hash



6
7
8
# File 'lib/eagleplatform/eagleplatform_object.rb', line 6

def to_hash
  Hash[self.each_pair.to_a]
end