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-0.0.4 lib/fb_graph/connections/picture.rb
fb_graph-0.0.3 lib/fb_graph/connections/picture.rb
fb_graph-0.0.2 lib/fb_graph/connections/picture.rb
fb_graph-0.0.1 lib/fb_graph/connections/picture.rb