Skip to content

Instantly share code, notes, and snippets.

View lamp's full-sized avatar
🇨🇦

@lamp lamp

🇨🇦
View GitHub Profile
Presentation creation with a user called dave (id 2)
Core:
Params: {"oauth_nonce"=>"227", "format"=>nil, "action"=>"create", "seed_name"=>"development", "oauth_timestamp"=>"1288280688", "oauth_signature_method"=>"HMAC-SHA1", "user_id"=>"2", "presentation"=>{"document_content"=>"{% video %}{% id 56 %}{% endvideo %}", "title"=>"My Presentation of Doom", "document_layout"=>"", "image_asset_id"=>"49", "disclosure"=>"public", "tag_list"=>"", "document_type"=>"SMIL 3.0", "author_url"=>"", "state"=>"ready"}, "controller"=>"presentations", "oauth_token"=>"vQohJr3cUlxVSSj8Fc6ScdlR6EOKQy", "oauth_consumer_key"=>"test_consumer_key", "oauth_signature"=>"Xyw9WyHDg4L04msTEydvD2m7hYQ=", "api_version"=>"1"}
~ (0.000006) SELECT `id`, `name`, `provider_name`, `provider_url`, `google_analytics_id` FROM `seeds` WHERE `name` = 'development' ORDER BY `id` LIMIT 1
~ (0.000005) SELECT `id`, `created_at`, `updated_at`, `enabled`, `access_key`, `developer_name`, `developer_email`, `developer_url`, `name`, `web_url`, `consumer_key`