Class: Occi::Core::Renderers::Json::Locations
- Defined in:
- lib/occi/core/renderers/json/locations.rb
Overview
Implements routines required to render ‘Occi::Core::Locations` and its subclasses to a JSON-based representation.
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#render_hash ⇒ Object
:nodoc:.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Occi::Core::Renderers::Json::Base
Instance Method Details
#render_hash ⇒ Object
:nodoc:
13 14 15 |
# File 'lib/occi/core/renderers/json/locations.rb', line 13 def render_hash object.map(&:to_s) end |