mirror of
				https://github.com/nov/fb_graph2
				synced 2023-03-27 23:22:15 -04:00 
			
		
		
		
	support FbGraph2::Node object as edge_scope
if node object given, use it's id
This commit is contained in:
		
							parent
							
								
									3bcf3d926a
								
							
						
					
					
						commit
						49f5aeae8b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -75,7 +75,7 @@ module FbGraph2
 | 
			
		|||
      File.join [
 | 
			
		||||
        File.join(FbGraph2.root_url, id.to_s),
 | 
			
		||||
        options[:edge],
 | 
			
		||||
        options[:edge_scope]
 | 
			
		||||
        options[:edge_scope].respond_to?(:id) ? options[:edge_scope].id : options[:edge_scope]
 | 
			
		||||
      ].compact.collect(&:to_s)
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue