Class: Mastodon::Streaming::DeletedStatus

Inherits:
Object
  • Object
show all
Defined in:
lib/mastodon/streaming/deleted_status.rb

Overview

Handles deleted statuses.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id) ⇒ DeletedStatus

Returns a new instance of DeletedStatus.



12
13
14
# File 'lib/mastodon/streaming/deleted_status.rb', line 12

def initialize(id)
  @id = id.to_i
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



10
11
12
# File 'lib/mastodon/streaming/deleted_status.rb', line 10

def id
  @id
end