Skip to content

Commit

Permalink
Update VideoEmbed set_privacy example
Browse files Browse the repository at this point in the history
  • Loading branch information
Sérgio Patrício committed Apr 29, 2013
1 parent 5715223 commit 6042cc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ Some methods have optional variables. Pass these as a hash at the end of a call.

video_embed.get_presets({ :page => "1", :per_page => "25" })
video_embed.set_preset("video_id", "preset_id")
video_embed.set_privacy("video_id", "privacy", { :approved_domains => { :approved_domain => ["example.com"] }.to_json })
video_embed.set_privacy("video_id", "privacy", { :approved_domains => ["example.com"].to_json })

## Uploads

Expand Down

0 comments on commit 6042cc2

Please sign in to comment.