Sha256: 89cda41c1a08d90c4ccfc337efb4a3e1a108e41b2e2fb5c9b66fec2b63199eb0
Contents?: true
Size: 1.05 KB
Versions: 1
Compression:
Stored size: 1.05 KB
Contents
# ----------------------------------------------------------------------- # Copyright © 2012 ShepHertz Technologies Pvt Ltd. All rights reserved. # ----------------------------------------------------------------------- require 'json/pure' require 'App42_Ruby_API/App42ResponseBuilder' require 'social/Social' module App42 module Social # # # SocialResponseBuilder class converts the JSON response retrieved from the # server to the value object i.e Social # # class SocialResponseBuilder < App42ResponseBuilder # # Converts the response in JSON format to the value object i.e Social # # @param json # - response in JSON format # # @return Social object filled with json data # def buildResponse(json) fbJSONObject = getServiceJSONObject("social", json) social = Social.new buildObjectFromJSONTree(social, fbJSONObject); social.strResponse=json social.isResponseSuccess = isResponseSuccess(json) return social end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
App42_Ruby_API-0.8.4 | lib/social/SocialResponseBuilder.rb |