diff --git a/lib/twitter/client/tweets.rb b/lib/twitter/client/tweets.rb index 4d7fa7de2..c4fc20431 100644 --- a/lib/twitter/client/tweets.rb +++ b/lib/twitter/client/tweets.rb @@ -77,15 +77,23 @@ def status(id, options={}) # @requires_authentication No unless the author of the status is protected # @param id [Integer] The numerical ID of the desired status to be embedded. # @param url [String] The url to the status to be embedded. ex: https://twitter.com/#!/twitter/status/25938088801 - def oembed(id_or_url) + # @param options [Hash] A customizable set of options. + # @option options [Integer] :maxwidth The maximum width in pixels that the embed should be rendered at. This value is constrained to be between 250 and 550 pixels. + # @option options [Boolean, String, Integer] :hide_media Specifies whether the embedded Tweet should automatically expand images which were uploaded via {https://dev.twitter.com/docs/api/1/post/statuses/update_with_media POST statuses/update_with_media}. When set to either true, t or 1 images will not be expanded. Defaults to false. + # @option options [Boolean, String, Integer] :hide_thread Specifies whether the embedded Tweet should automatically show the original message in the case that the embedded Tweet is a reply. When set to either true, t or 1 the original Tweet will not be shown. Defaults to false. + # @option options [Boolean, String, Integer] :omit_script Specifies whether the embedded Tweet HTML should include a