Class: RedoxEngine::Visit
- Inherits:
-
Object
- Object
- RedoxEngine::Visit
- Includes:
- Util
- Defined in:
- lib/redox-engine/visit.rb
Overview
Serialize the Visit response object from RedoxEngine
Instance Method Summary collapse
-
#initialize(visit_hash) ⇒ Visit
constructor
A new instance of Visit.
Methods included from Util
Constructor Details
#initialize(visit_hash) ⇒ Visit
Returns a new instance of Visit.
5 6 7 |
# File 'lib/redox-engine/visit.rb', line 5 def initialize(visit_hash) map_hash_to_attributes(visit_hash.rubyize_keys) end |