Class: AFMotion::JSON

Inherits:
HTTP
  • Object
show all
Defined in:
lib/afmotion/http.rb

Class Method Summary collapse

Methods inherited from HTTP

operation_manager

Class Method Details

.configure_manager(manager) ⇒ Object


19
20
21
22
# File 'lib/afmotion/http.rb', line 19

def self.configure_manager(manager)
  manager.json!
  manager.responseSerializer.readingOptions = NSJSONReadingMutableContainers
end