Class: Mastodon::ScheduledStatus

Inherits:
Base
  • Object
show all
Defined in:
lib/mastodon/scheduled_status.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#attributes

Instance Method Summary collapse

Methods inherited from Base

collection_attr_reader, define_attribute_method, define_predicate_method, normal_attr_reader, object_attr_reader, predicate_attr_reader

Constructor Details

#initialize(attributes = {}) ⇒ ScheduledStatus

Returns a new instance of ScheduledStatus.



20
21
22
23
# File 'lib/mastodon/scheduled_status.rb', line 20

def initialize(attributes = {})
  attributes.fetch('id')
  super
end

Instance Attribute Details

#idString (readonly)

Returns:

  • (String)


14
15
16
# File 'lib/mastodon/scheduled_status.rb', line 14

normal_attr_reader :id,
:scheduled_at,
:params

#media_attachmentsMastodon::Collection<Mastodon::Entities::Media> (readonly)



14
15
16
# File 'lib/mastodon/scheduled_status.rb', line 14

normal_attr_reader :id,
:scheduled_at,
:params

#paramsHash (readonly)

Returns:

  • (Hash)


14
15
16
# File 'lib/mastodon/scheduled_status.rb', line 14

normal_attr_reader :id,
:scheduled_at,
:params

#scheduled_atString (readonly)

Returns:

  • (String)


14
15
16
# File 'lib/mastodon/scheduled_status.rb', line 14

normal_attr_reader :id,
:scheduled_at,
:params