Class: Mastodon::Streaming::Events::StatusDelete
- Inherits:
-
Object
- Object
- Mastodon::Streaming::Events::StatusDelete
- Defined in:
- lib/mastodon/streaming/events/status_delete.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(id) ⇒ StatusDelete
constructor
A new instance of StatusDelete.
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
#id ⇒ Object (readonly)
Returns the value of attribute id.
8 9 10 |
# File 'lib/mastodon/streaming/events/status_delete.rb', line 8 def id @id end |