Homec4science

Provide a paste.create Conduit method

Authored by epriestley <git@epriestley.com> on Jul 30 2011, 03:31.

Description

Provide a paste.create Conduit method

Summary:

  • Allow the console to handle abstract classes correctly.
  • Move paste dictionary generation to an abstract base class.
  • Add paste.create.
  • Add 'objectName', 'parentPHID', and 'content' to Paste info dictionaries

(you can use filePHID with file.download to get the content but I think just
always sending it back is reasonable).

Test Plan:

  • Use paste.create to create new pastes.
  • Used paste.info to get existing pastes.
  • Checked console UI to make sure "paste." didn't show up or anything

silly/dumb like that.

  • Tried to call the method "paste" and got the right exception.

Reviewed By: codeblock
Reviewers: codeblock, jungejason, tuomaspelkonen, aran
CC: aran, codeblock
Differential Revision: 747

Details

Committed
epriestley <git@epriestley.com>Jul 30 2011, 04:00
Pushed
aubortJan 31 2017, 17:16
Parents
rPH90cbf8459c33: Streamline Files interfaces
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH10486691581e: Provide a paste.create Conduit method (authored by epriestley <git@epriestley.com>).Jul 30 2011, 04:00