Class: GrubY::ActiveSession

Inherits:
BaseObject show all
Defined in:
lib/gruubY/types/bound_entities.rb

Instance Attribute Summary

Attributes inherited from BaseObject

#api, #client

Instance Method Summary collapse

Methods inherited from BaseObject

#[], #dig, field_names, fields, #initialize, #method_missing, #respond_to_missing?, #to_h

Constructor Details

This class inherits a constructor from GrubY::BaseObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class GrubY::BaseObject

Instance Method Details

#resetObject



184
185
186
# File 'lib/gruubY/types/bound_entities.rb', line 184

def reset
  call_raw_api("resetSession", { session_hash: self["hash"] || hash })
end