gimite / google-spreadsheet-ruby

Ruby library to read/write Google Spreadsheet
Other
306 stars 52 forks source link

Import #28

Closed eldavido closed 12 years ago

eldavido commented 12 years ago

What's the easiest way to copy a sheet from one domain to another?

I'm using the same two-legged OAuth credentials for both domains; access isn't a problem. I see an "export" method in the library, but not a corresponding "import".

gimite commented 12 years ago

Yeah the import feature is not implemented.

If the source spreadsheet is readable from the target account, you can probably use Spreadsheet#duplicate method. Otherwise you can either implement import feature yourself (Google Spreadsheet itself provides API for it) or copy each cells.

eldavido commented 12 years ago

Thanks, I used duplicate, worked like a charm.