Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updating README

  • Loading branch information...
commit 026b1eaabe0076751be7ca9fe92b71f9b19b261f 1 parent a14d612
@aubreyrhodes authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 README.md
View
6 README.md
@@ -32,7 +32,7 @@ Configure
```ruby
t.integer :attachment_ipaper_id
t.string :attachment_ipaper_access_key
- ````
+ ```
Scribd-CarrierWave will now automatically upload new attachments to Scribd as a private document, and save the id and access_key on the model.
@@ -44,6 +44,10 @@ To display multiple documents on the same page, you need to pass in a unique id
````<%= attachment.display_ipaper({id: '_attachement1'}) %>````
+To pass in params to the Scribd javascript options (listed [here](http://www.scribd.com/developers/api?method_name=Javascript+API#parameters))
+
+````<%= attachment.display_ipaper({height: 700, width: 600}) %>````
+
To get the link to the fullscreen document:
````<%= attachment.fullscreen_url %>````
Please sign in to comment.
Something went wrong with that request. Please try again.