Sha256: e74c32668806fde897e5bad898323d4c922355181e4e39ade4800e9dad2f6441

Contents?: true

Size: 210 Bytes

Versions: 4

Compression:

Stored size: 210 Bytes

Contents

module Instagram
  class Client
    module Embedding
      def oembed(*args)
        url = args.first
        return nil unless url
        get("oembed?url=#{url}", {}, false, true)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
instagram-0.11.0 lib/instagram/client/embedding.rb
instagram-0.10.0 lib/instagram/client/embedding.rb
instagram-0.9.1 lib/instagram/client/embedding.rb
instagram-0.9.0 lib/instagram/client/embedding.rb