Method: ActiveResource::Formats::JsonFormat#encode
- Defined in:
- lib/active_resource/formats/json_format.rb
#encode(hash, options = nil) ⇒ Object
18 19 20 |
# File 'lib/active_resource/formats/json_format.rb', line 18 def encode(hash, = nil) ActiveSupport::JSON.encode(hash, ) end |