Sha256: 93145957e410f14e5661896a7d0bcf3c7c77b9519490024079bdfd8cbfe53885

Contents?: true

Size: 261 Bytes

Versions: 84

Compression:

Stored size: 261 Bytes

Contents

module FbGraph
  module Connections
    module Picture
      def picture(size = nil)
        _endpoint_ = "#{self.endpoint}/picture"
        if size
          "#{_endpoint_}?type=#{size}"
        else
          _endpoint_
        end
      end
    end
  end
end

Version data entries

84 entries across 84 versions & 2 rubygems

Version Path
fb_graph-1.8.0.alpha lib/fb_graph/connections/picture.rb
fb_graph-1.7.4 lib/fb_graph/connections/picture.rb
fb_graph-1.7.3 lib/fb_graph/connections/picture.rb
fb_graph-1.7.2 lib/fb_graph/connections/picture.rb
fb_graph-1.7.1 lib/fb_graph/connections/picture.rb
fb_graph-1.7.0 lib/fb_graph/connections/picture.rb
fb_graph-1.7.0.alpha2 lib/fb_graph/connections/picture.rb
fb_graph-1.6.9 lib/fb_graph/connections/picture.rb
fb_graph-1.7.0.alpha lib/fb_graph/connections/picture.rb
fb_graph-1.6.8 lib/fb_graph/connections/picture.rb
fb_graph-1.6.7 lib/fb_graph/connections/picture.rb
fb_graph-1.6.5 lib/fb_graph/connections/picture.rb
fb_graph-1.6.4 lib/fb_graph/connections/picture.rb
fb_graph-1.6.3 lib/fb_graph/connections/picture.rb
fb_graph-1.6.2 lib/fb_graph/connections/picture.rb
fb_graph-1.6.1 lib/fb_graph/connections/picture.rb
fb_graph-1.6.0 lib/fb_graph/connections/picture.rb
fb_graph-1.5.5 lib/fb_graph/connections/picture.rb
fb_graph-1.5.4 lib/fb_graph/connections/picture.rb
fb_graph-1.5.3 lib/fb_graph/connections/picture.rb