Files

ActiveResource::Formats::JsonFormat

Public Instance Methods

decode(json) click to toggle source
# File lib/active_resource/formats/json_format.rb, line 18
def decode(json)
  ActiveSupport::JSON.decode(json)
end
encode(hash, options = nil) click to toggle source
# File lib/active_resource/formats/json_format.rb, line 14
def encode(hash, options = nil)
  ActiveSupport::JSON.encode(hash, options)
end
extension() click to toggle source
# File lib/active_resource/formats/json_format.rb, line 6
def extension
  "json"
end
mime_type() click to toggle source
# File lib/active_resource/formats/json_format.rb, line 10
def mime_type
  "application/json"
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.