Class: Camille::ObjectHash
- Inherits:
-
Hash
- Object
- Hash
- Camille::ObjectHash
- Defined in:
- lib/camille/object_hash.rb
Instance Method Summary collapse
Instance Method Details
#to_json(options = nil) ⇒ Object
3 4 5 |
# File 'lib/camille/object_hash.rb', line 3 def to_json = nil JSON.dump(transform_keys{|k, _| Camille::KeyConverter.convert_response_key(k)}) end |