Method: Joey::RestAPI#get_and_map_url
- Defined in:
- lib/joey/rest_api.rb
#get_and_map_url(url, klass = nil) ⇒ Object
29 30 31 32 33 34 |
# File 'lib/joey/rest_api.rb', line 29 def get_and_map_url(url, klass = nil) # FIXME: following only returns a hash like {"id"=>"http://graph.facebook.com/100000637452380/feed"} # try to write a method in koala which can request absolute Facebook urls. See fetching_array.rb:7. data = self.class.get_object(url) map_data(data,klass) end |