Module: Yammer::Api::PendingAttachment
- Included in:
- Client
- Defined in:
- lib/yammer/api/pending_attachment.rb
Instance Method Summary collapse
-
#create_pending_attachment(attachment) ⇒ Yammer::ApiResponse
Fetch a pending attachment owned by authenticated user.
-
#delete_pending_attachment(id) ⇒ Yammer::ApiResponse
Delete a pending attachment owned by the authenticated user.
-
#get_pending_attachment(id) ⇒ Yammer::ApiResponse
Create a new pending attachment owned by authenticated user.
Instance Method Details
#create_pending_attachment(attachment) ⇒ Yammer::ApiResponse
Fetch a pending attachment owned by authenticated user
59 60 61 |
# File 'lib/yammer/api/pending_attachment.rb', line 59 def () post("/api/v1/pending_attachments", :attachment => ) end |
#delete_pending_attachment(id) ⇒ Yammer::ApiResponse
Delete a pending attachment owned by the authenticated user
43 44 45 |
# File 'lib/yammer/api/pending_attachment.rb', line 43 def (id) delete("/api/v1/pending_attachments/#{id}") end |
#get_pending_attachment(id) ⇒ Yammer::ApiResponse
Create a new pending attachment owned by authenticated user
29 30 31 |
# File 'lib/yammer/api/pending_attachment.rb', line 29 def (id) get("/api/v1/pending_attachments/#{id}") end |