Class: Mastodon::Streaming::Events::StatusDelete

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id) ⇒ StatusDelete

Returns a new instance of StatusDelete.



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

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

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



8
9
10
# File 'lib/mastodon/streaming/events/status_delete.rb', line 8

def id
  @id
end