class Podio::Status
Public Class Methods
create(space_id, attributes=[], options={})
click to toggle source
@see developers.podio.com/doc/status/add-new-status-message-22336
# File lib/podio/models/status.rb, line 50 def create(space_id, attributes=[], options={}) response = Podio.connection.post do |req| req.url("/status/space/#{space_id}/", options) req.body = attributes end response.body['status_id'] end
delete(id)
click to toggle source
@see developers.podio.com/doc/status/delete-a-status-message-22339
# File lib/podio/models/status.rb, line 60 def delete(id) Podio.connection.delete("/status/#{id}").body end
find(id)
click to toggle source
@see developers.podio.com/doc/status/get-status-message-22337
# File lib/podio/models/status.rb, line 45 def find(id) member Podio.connection.get("/status/#{id}").body end
Public Instance Methods
destroy()
click to toggle source
@see developers.podio.com/doc/status/delete-a-status-message-22339
# File lib/podio/models/status.rb, line 39 def destroy Status.delete(self.id) end