Class: Jekyll::ActivityPub::Outbox
- Inherits:
-
OrderedCollection
- Object
- Page
- OrderedCollection
- Jekyll::ActivityPub::Outbox
- Defined in:
- lib/jekyll/activity_pub/outbox.rb
Overview
A collection of activities
Instance Method Summary collapse
-
#initialize(site, actor, base = '', dir = '', name = 'outbox.jsonld') ⇒ Outbox
constructor
Initialize with default data.
Methods inherited from OrderedCollection
#items_to_links!, #order_items!, #paginate!, #read_yaml
Methods included from Helper
#content, #generate_excerpt?, #hook_owner, #locale, #place_in_layout?, #pruned_data, #render_with_liquid?, #to_json, #to_liquid, #trigger_hooks
Constructor Details
#initialize(site, actor, base = '', dir = '', name = 'outbox.jsonld') ⇒ Outbox
Initialize with default data
16 17 18 19 20 21 22 |
# File 'lib/jekyll/activity_pub/outbox.rb', line 16 def initialize(site, actor, base = '', dir = '', name = 'outbox.jsonld') super(site, base, dir, name) actor.data['outbox'] = absolute_url(url) trigger_hooks :post_init end |