Class: Representable::JSON::TextBinding
- Defined in:
- lib/representable/bindings/json_bindings.rb
Overview
Represents plain key-value.
Instance Attribute Summary
Attributes inherited from Binding
Instance Method Summary collapse
Methods inherited from Binding
Constructor Details
This class inherits a constructor from Representable::JSON::Binding
Instance Method Details
#update_json(hash, value) ⇒ Object
32 33 34 |
# File 'lib/representable/bindings/json_bindings.rb', line 32 def update_json(hash, value) hash[name] = value end |